Re: How to mark a waypoint to not be skipped
Posted: Tue Aug 23, 2011 11:02 pm
sometimes while still going to this location from my travel waypoints it will skip the first one and go to another and not execute the code. it changes the target distance because of all the obstacles. otherwise i'm getting stuck on the fence all the time.rock5 wrote:Skipped waypoint code does execute. Maybe it just seemed to not run like it did for Lisa. What was the code? Maybe we can figure out why didn't work.Dsanchez wrote:I've been playing around with waypoints a little bit and have had this problem also where it would skip a waypoint and not execute the code on the previous waypoint.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="3325" z="5980" y="0">
changeProfileOption("MAX_TARGET_DIST", 50);
</waypoint>
<!-- # 2 --><waypoint x="3375" z="5715" y="20"></waypoint>
<!-- # 3 --><waypoint x="3375" z="5715" y="20"></waypoint>
<!-- # 4 --><waypoint x="3480" z="5675" y="25">
player:restrnd(30, 3, 10);
</waypoint>
<!-- # 5 --><waypoint x="3780" z="5675" y="25">
player:restrnd(30, 3, 10);
__WPL:setDirection(WPT_FORWARD);
</waypoint>
<!-- # 6 --><waypoint x="3480" z="5675" y="25">
player:restrnd(30, 3, 10);
if( player.Level > 17) then
loadPaths("11-20Silverspring/l18t_Tagena");
end
</waypoint>
<!-- # 7 --><waypoint x="3480" z="5375" y="25">
player:restrnd(30, 3, 10);
</waypoint>
<!-- # 8 --><waypoint x="3780" z="5375" y="25">
player:restrnd(30, 3, 10);
__WPL:setDirection(WPT_BACKWARD);
</waypoint>
</waypoints>