 |
dracx Beginner
Joined: 14 Oct 2000 Posts: 26 Location: USA
|
Posted: Sun Feb 17, 2002 11:04 pm
looping alias |
In one particular zone on my map, there are TONS of exits that involve climbing stairs.
What I want to accomplish is this... I want to have an alias that goes through each room in the zone, and finds the rooms that have an exit called 'climb stairs'. When it finds those rooms, I want to insert the following command in to the 'script' for THAT ROOM. Here is the command I want in there...
#TEMP {Obvious} {#STEP}
The reason for this is that there is an extended delay that steps all over the slowwalking, and I want it to continue when going through these rooms. However, this is a little advanced for me, especially in the new editor.
If anyone can work something out, I'll kiss your feet.
Drac-X |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Mon Feb 18, 2002 12:51 am |
#LOOP 1,%numrooms() {#IF (%roomportal(%mapvnum(%i), "climb stairs")) {#NOOP %roomcom(%mapvnum(%i), "#TEMP {Obvious} {#STEP}")}}
Untested, might not work
Kjata |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|