|
rr3636 Newbie
Joined: 11 Apr 2010 Posts: 8
|
Posted: Tue Apr 13, 2010 4:57 pm
[3.16b] script order |
not sure if this should be in the normal cmud forum or not.
anyway, I have set cmud to use slow mode on speedwalking.
alias containing this script:
#walk 26
bb
When I write that alias it does the following:
* first step in the "walk"
* fire "bb" (an alias)
* second -> finish "walk"
My goal is:
* first -> finish "walk"
* fire "bb"
I saw there was a WAITFOR command which can be used to detect room names, and then fire "bb".
but is there an other way to just make it do how I want it without writing lots of code? (yes, I know I can change the speedwalk mode - but beside that). |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Tue Apr 13, 2010 5:21 pm |
To have it simply work that way automatically? Not really. That is one of the major differences between walk modes.
But there are a number of ways you could code it without too much work. One way you probably have not thought of is an Event with a name of OnWalkEnd. An Event with that name would automatically fire at the end of a speedwalk. You could enable that event when you start the walk, and have it disable itself. Another similar method would be an OnRoomEnter event. |
|
|
|
|
|