View Full Version : Druid How do I set 'exani hur "down" and exani hur "up" in [Walker]
Valadia
04-25-2013, 06:34 PM
I am botting in a custom hunt spot on [Gunzodus.net].
But to make it working good, I need to set exani hur up/down.
Now my question is: How do I set these? .
I tried to figure it out, but I'm just no computer genius.
If anybody could help me, it would be great.
Thanks,
Valadia
dinmamma
04-25-2013, 11:17 PM
registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
function onWalkerSelectLabel(labelName)
if (labelName == "Levitate up") and (Self.Position().x == ???) and (Self.Position().y == ???) and (Self.Position().z == 7) then --change to pos where character will stand to say the spell
delayWalker(1000)
setWalkerEnabled(false)
Self.Say(exani hur up)
wait(500)
if (Self.Position().z == 6) then -- change to Z where you arrive after levitate, so it checks that u are up
setWalkerEnabled(true)
end
elseif (labelName == "Levitate down") and (Self.Position().x == ???) and (Self.Position().y == ???) and (Self.Position().z == 7) then --change to pos where character will stand to say the spell
delayWalker(1000)
setWalkerEnabled(false)
Self.Say(exani hur down)
wait(500)
if (Self.Position().z == 7) then -- change to Z where you arrive after levitate, so it checks that u are down
setWalkerEnabled(true)
end
end
end
Add a node where to stand to levitate, right after it make label eg. "Levitate up" or "Levitate up1" etc.
Then just edit this script.
You can add more elseif if you want, with many more labels/levitations.
Hope you know how this works, otherwise just try and ask :)
Also you might use stand instead of node, with stand (north, south, west, east) you can decide where the character is facing.
kopper
04-25-2013, 11:22 PM
Self.Cast("Exani Hur Up")
and
Self.Cast("Exani Hur Down")
Add those as one liners :)
dinmamma
04-25-2013, 11:26 PM
Self.Cast("Exani Hur Up")
and
Self.Cast("Exani Hur Down")
Add those as one liners :)
This is an easy solution, but if someone would push you, you are screwed spamming these spells xD
Spectrus
04-25-2013, 11:29 PM
Here's a more complete set of instructions.
Right click yourself.
Select 'Walker'.
On the right (where containers are displayed), a Walker panel will be opened.
Right click in the Walker panel.
Click Script (a popup will appear).
In the popup, write your Lua script.
For the Lua script you can write:
Self.Say('exani hur up')
Self.Say('exani hur down')
Above
This is an easy solution, but if someone would push you, you are screwed spamming these spells xD
This is very unlikely. But to ensure it works you could use a position check like so:
if (Self.DistanceFromPosition(12345, 12345, 7) == 0) then Self.Say('exani hur up') else alert() end
dinmamma
04-25-2013, 11:35 PM
Here's a more complete set of instructions.
Right click yourself.
Select 'Walker'.
On the right (where containers are displayed), a Walker panel will be opened.
Right click in the Walker panel.
Click Script (a popup will appear).
In the popup, write your Lua script.
For the Lua script you can write:
Self.Say('exani hur up')
Self.Say('exani hur down')
Above
This is very unlikely. But to ensure it works you could use a position check like so:
if (Self.DistanceFromPosition(12345, 12345, 7) == 0) then Self.Say('exani hur up') else alert() end
That would be the smarter idea :)
Valadia
04-26-2013, 04:30 PM
Everybody, THANKS FOR THE HELP!
Lilithwins
10-05-2013, 11:52 AM
guys when i write Self.say("exani hur up"), in script(walker), it give me red letters error, how can i make this script works once for all....
Infernal Bolt
10-05-2013, 12:00 PM
guys when i write Self.say("exani hur up"), in script(walker), it give me red letters error, how can i make this script works once for all....
you need to write Say, not say
Lilithwins
10-05-2013, 04:01 PM
thanks
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.