|
Mudder Dude Beginner
Joined: 23 Oct 2000 Posts: 23 Location: Australia
|
Posted: Tue Feb 11, 2003 3:29 am
Question on slow walk |
Although I bought a license, I will admit I have been bad about not updating my version. I usually upgrade when I'm looking for a specific function.
For all those people on the latest version, I am wondering if there is a way to get the NEXT value in the slow walk path and load it into a variable. Such use would be to look a direction before you move it.
MD
Mudder Dude! |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Feb 13, 2003 7:09 am |
I can't find any function/variable which will provide that directly. However, it should be easy to obtain using the %pathfrom function.
LightBulb
Advanced Member |
|
|
|
Mudder Dude Beginner
Joined: 23 Oct 2000 Posts: 23 Location: Australia
|
Posted: Fri Feb 14, 2003 4:50 am |
Well, I think I have a work around. It is so cumbersome that its not a solution.
In my slow walk path, add an alias that will set the variable manually for my next direction prior to the path changes direction. For example if the path is 10e5s10e I would:
pde;10e;pds;5s;pde;10e
pde is the alias that sets next_step variable to east
pds is the alias that sets next_step variable to south
*sigh* I hope it goes in a lot of straight lines.
Mudder Dude! |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Feb 14, 2003 12:46 pm |
Couldn't you use %pathexpand to get the path as a stringlist, start an index variable that points to the next direction in the path and update the index variable in the trigger that sends the #OK command for the slow walk?
Kjata |
|
|
|
|
|