|
Jah Wanderer
Joined: 11 Oct 2000 Posts: 52 Location: Sweden
|
Posted: Mon Jun 23, 2003 2:48 pm
Track follow |
Hmm im trying to figure out how to make a little script that tracks the path the group leader takes me into a variable that could be reverse-speedwalked.
output : Nils leaves east.
I got whole group in @group and leader in @groupleader |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Jun 23, 2003 10:57 pm |
quote: Originally posted by Jah
Hmm im trying to figure out how to make a little script that tracks the path the group leader takes me into a variable that could be reverse-speedwalked.
output : Nils leaves east.
I got whole group in @group and leader in @groupleader
Hmm, are you 100% sure that every path in one direction (ie, going to somewhere from here) is reversible (coming here from somewhere)? If so, just record/modify the directions as they come and use...was it %pathreverse()? Regardless, there's a function or command in 6.62 that returns the reverse path for you but I'm not sure when it was added. |
|
|
|
Jah Wanderer
Joined: 11 Oct 2000 Posts: 52 Location: Sweden
|
Posted: Tue Jun 24, 2003 1:58 am |
hum. whats the command to start recording a path?
And yes.. most paths is reversible.. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Tue Jun 24, 2003 10:52 am |
Use #MARK to start recording a path.
Use #MOVE to record movements into the path.
Use #RETRACE to walk it backwards. |
|
|
|
Jah Wanderer
Joined: 11 Oct 2000 Posts: 52 Location: Sweden
|
Posted: Tue Jun 24, 2003 1:38 pm |
So #trigger {%1 trots %2.} {#if %ismember( %1, @group) {#move %2} {#noop}} shold work..
But even #move north doesnt append north to the path :/ |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Jun 24, 2003 4:52 pm |
Try using #MAP instead.
|
|
|
|
|
|