maetrik
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Apr 22, 2015 20:37:12 GMT
View Profile
Registered On: Apr 22, 2015 14:39:58 GMT
|
Post by maetrik on Apr 22, 2015 14:52:08 GMT
Hi, im new on Nox and im new in this beautiful place.. Well, i would like to have a script that makes my sio(which is inside pz) walk to the lever, pull it and then come back to the same sqm where i was standing at. So pretty much would be like, to stand in the door, once the hades died, go to the lever, pull it and then go back to the sqm door (where i was). I think is not hard work to make it possible but since im a newbi at scripts its really hard for me hehe, also if anyone helps me he will be guaranteed with 50 noxious tokens. thanks in advance, cheers and keep Nox alivee!
|
|
|
Post by Darth Maul on Apr 23, 2015 4:13:13 GMT
Hello Maetrik; I've created a cavebot script that does what you want. ------------------------------------------------------------------- ------------------------------------------------------------------- You can download it here: ----- Private Spawn - Healer uses lever - stands....elfc (1.42 KB) ---- ------------------------------------------------------------------- ------------------------------------------------------------------- It will stand on the door while hades is on your screen. After Hades dies it will move back south and use the lever, after making sure the lever has been used, (i.e. after the lever changes direction), it will move back onto the door. The Basic Layout for the script is as followed:- Action Node: This is labeled 'stand'. It is used to indicate where the cavebot needs to jump to when you want to go back to the door.
- Walk Node: This is under the 'stand' node. This is the location in-which you want to stand. This will need to be changed every time you change private spawns.
- Action Node: This is labeled 'check hades'. It is used to check if hades is on your screen, and what hp he has. If hades is dead the bot will move onto the next waypoint.
- Action Node: This is labeled 'move to lever'. It is used to indicate where the cavebot needs to jump to when you want to move to the lever.
- Walk Node: This is under the 'move to lever' node. This is the location in-which you want to stand when you're pulling the lever. This will need to be changed every time you change private spawns.
- Action Node: This is labeled 'lever check'. This checks which direction the lever is facing. This is needed so you know when you've pulled the lever successfully.
- Action Node: This is labeled 'repeat use lever'. This pulls the lever continually until it changes direction, (until you successfully pull the lever). After pulling the lever the bot will continue to the 'stand' waypoint.
In order for this script to work for you, you will need to change two 'walk' node locations. The first one needs to be inside the door, and the second one needs to be above the lever you want to pull. If the bot is going too fast, and it doesn't have enough of a delay you can open up the "Cavebot Hotkeys" and change the $wait variable. By default I've set it to 10seconds. To open this up click on the "Edit" button at the top-right of the Cavebot window. Edit the line that says "set $wait '10000'; remember 1000 = 1second. I hope find this script useful.
|
|