 |
Aarlot Adept

Joined: 30 Dec 2003 Posts: 226
|
Posted: Sun Mar 21, 2004 10:01 am
Mapper following trigger |
I have a bunch of triggers set up atm to make follow my movement on the map when I'm following someone else. They all look similar to:
#TR {(%w) leaves (%w).$You follow (%w)} {#move %2}
There are rooms in the mud I play that you cannot enter while riding a horse, and it gives you a message such as this:
You can't ride in there.
Which I counteract by the trigger:
#TR {You can't ride in there.} {#NODIR}
Unfortunately, when the two collide, i have problems. Say I'm riding a horse, and the person i'm following is not. Something like this will happen:
Whoever leaves east.
You follow Whoever.
You can't ride in there.
Since the first trigger has already moved my place on the map, the second does no good in stopping the movement of the marker. How could i counteract this? |
|
|
 |
Danlo Magician

Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: Sun Mar 21, 2004 12:59 pm |
Try this:
#TR {(%w) leaves (%w).$You follow (%w)} {#move %2}
#cond {You can't ride in there.} {#move %pathreverse(%copy(%t2,1,1))} {within|param=2} |
|
|
 |
Aarlot Adept

Joined: 30 Dec 2003 Posts: 226
|
Posted: Mon Mar 22, 2004 7:03 am |
Thnx, worked great.
|
|
|
 |
|
|
|
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
|
|