Dear Community,
is it possible to force a special waypoint list?
I want the bot have to use wp #1 to wp #12, not jumping to a more near point inside the list.
Because so he ignore points and the inner code. Thats critical for a logic follow of events.
Thxs 4 any idea
Forcing a waypoint list?
- Administrator
- Site Admin
- Posts: 5331
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Forcing a waypoint list?
You're going to have to describe what you want more clearly. If you want to select a specific waypoint list, you use the path:<name> parameter when running the script. If you want to start at a specific waypoint within the list, you'd add this code to whatever it is you're trying to do:
Where 'x' is a number.
Code: Select all
__WPL:setWaypointIndex(x);
Re: Forcing a waypoint list?
Hello,
in my case, the problem ist not choosing the waypoint list.
Inside a waypoint list are for example 12 waypoints. If i load this list with loadpath() or path:wplist.xml and my charakter stands near to waypoint #10 the bot start with wp #10. But i want to force him in special cases to start with waypoint #1.
Perhaps there is a simple solution.
Thxs so far 4 all
in my case, the problem ist not choosing the waypoint list.
Inside a waypoint list are for example 12 waypoints. If i load this list with loadpath() or path:wplist.xml and my charakter stands near to waypoint #10 the bot start with wp #10. But i want to force him in special cases to start with waypoint #1.
Perhaps there is a simple solution.
Thxs so far 4 all
- Administrator
- Site Admin
- Posts: 5331
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Forcing a waypoint list?
Then use the call to __WPL:setWaypointIndex(1) that I mentioned in my previous post directly after using loadPaths() in your code.
Re: Forcing a waypoint list?
works great!Administrator wrote:__WPL:setWaypointIndex(1);
Sorry that i am not understand you in your previous post.
Its not my first language

Who is online
Users browsing this forum: No registered users and 4 guests