I want to start the waypoint file after little changes from a point at the mid of the file...
thanks for response
p.s: I search a way to start the file from its mid either by mm console or from within another waypoint file.
Code: Select all
<waypoints type="RUN">
<onLoad>
__WPL:setWaypointIndex(__WPL:findWaypointTag("devStep"));
</onLoad>
<!-- # 1 --><waypoint x="-x" z="-z"> </waypoint>
...
<!-- # 19 --><waypoint x="-x2" z="-z2" tag="devStep">
</waypoints>
Code: Select all
Loaded waypoint path Tester.xml
Waypoint #19 is closer then #1. Hence we start with waypoint #19.
No return path with default naming Tester_return.xml found.
We use the normal waypoint path Tester.xml now.
Moving to waypoint #16, (..., ...)
Moving to waypoint #17, (...,...)Code: Select all
waypoint_file1.xml
<waypoints>
<onLoad>
cprintf(cli.red, "waypoint_file1 successfully loaded!\n");
</onLoad>
<waypoint x="-1234" z="-1234">loadPaths(waypoint_file2);</waypoint>
</waypoints>
Code: Select all
waypoint_file2.xml
<waypoints>
<onLoad>
cprintf(cli.red, "waypoint_file2 successfully loaded!\n");
</onLoad>
<waypoint x="-1234" z="-1234">loadPaths(waypoint_file1);</waypoint>
</waypoints>