|
Talmark Novice
Joined: 22 Nov 2003 Posts: 34
|
Posted: Sun Dec 21, 2003 5:06 pm
#MAP doesn't load room scripts |
The docs have a very useful trigger that I use all the time:
#TRIGGER {@team_leader leaves (%w)} {#MAP %1}
However, moving about the map by using #MAP doesn't load the room scripts in the rooms that have them, which is problematic in some cases. I was wondering if there was a way to follow the leader around as well as load any room scripts a room might have.
Regards,
Tal |
|
|
|
Danlo Magician
Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: Mon Dec 22, 2003 10:16 am |
You could try this:
Go to Classes. Select Directions class.
Make 6 new directions like: easttwo, westtwo, northtwo, southtwo, uptwo, downtwo. Don't assign a command to these new directions, just assign the Map direction.
Then, for your trigger, put:
#TRIGGER {@team_leader leaves (%w)} {%1two}
This will move the mapper, but otherwise do nothing. And it should execute the roomscripts. |
|
|
|
Talmark Novice
Joined: 22 Nov 2003 Posts: 34
|
Posted: Mon Dec 22, 2003 6:49 pm |
#TRIGGER {@team_leader leaves (%w)} {#MOVE %1}
This seems to do the same thing as the other trigger, except it also loads the room script. |
|
|
|
Talmark Novice
Joined: 22 Nov 2003 Posts: 34
|
Posted: Mon Dec 22, 2003 8:02 pm |
Hmm...except #MOVE doesn't work with portal exits, like "out" "enter" etc.
|
|
|
|
|
|