hello guys, i have one problem with target in path points, when i set pve target with patch point, the char only change target to other mob after mob dead disappear
i use the script to ClearTarget() but, still not working :/
In your script when you want to cancel targets use all these:
LUA Programming
ClearTargets()
CancelTarget(false)
CancelTarget(false)
CancelTarget(false)
this will for sure clear your target
(08-21-2014 11:36 AM)tophersoccer Wrote: [ -> ]In your script when you want to cancel targets use all these:
LUA Programming
ClearTargets()
CancelTarget(false)
CancelTarget(false)
CancelTarget(false)
this will for sure clear your target
Tanks, works better now, but still have a little bug, the toon change to other target but he back to the dead target sometimes...
In your script you can add if GetTarget():GetHp() == 0 (or call IsAlikeDeath()) then cancel target