help script
Posted: 2005-02-28 19:19:39
hi...I need a script for Hidden Earth shard...is a script for cast...in this shard the mage looses concentration if he is still running when the target appears so i would like the script to cast the spell, stop the mage from running just before the appearing of the target, to targetlast and to restart running after the spell...
I've just downloaded Injection and this is my first try, please help me...thanks
sub castMA()
VAR tempocast = 890 #time needed to cast the spell
VAR delay = 500 #time needed for target to appear
VAR macro = 119 #macro button
IF (UO.press(macro)) THEN
UO.Cast("Magic Arrow")
wait(tempocast-(delay + 100))
UO.Say(",moveoff")
Wait(delay)
uo.exec("waittargetlast")
UO.Say(",moveon")
ENDIF
end sub
all the delays are still to be seen...
I've just downloaded Injection and this is my first try, please help me...thanks
sub castMA()
VAR tempocast = 890 #time needed to cast the spell
VAR delay = 500 #time needed for target to appear
VAR macro = 119 #macro button
IF (UO.press(macro)) THEN
UO.Cast("Magic Arrow")
wait(tempocast-(delay + 100))
UO.Say(",moveoff")
Wait(delay)
uo.exec("waittargetlast")
UO.Say(",moveon")
ENDIF
end sub
all the delays are still to be seen...