Load code after every kill
Posted: Sat Mar 17, 2012 3:48 pm
Is it possible to stop attacking on a WP without going to the next waypoint place ?
For example:
The player fight on waypoint 4:
<!-- # 4 --><waypoint x="-27537" z="24353" y="-83"></waypoint>
and I want to go to waypoint 8 if the quest is completed, but I don't want to wait until the bot goes to waypoint 5
I want to load
after every killing mob
(sory for my English)
For example:
The player fight on waypoint 4:
<!-- # 4 --><waypoint x="-27537" z="24353" y="-83"></waypoint>
and I want to go to waypoint 8 if the quest is completed, but I don't want to wait until the bot goes to waypoint 5
I want to load
Code: Select all
queststate = getQuestStatus(425509)
if queststate == "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("complete"));
end
(sory for my English)