Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
azbird
Beginner


Joined: 16 Apr 2008
Posts: 21

PostPosted: Mon Apr 13, 2009 4:27 pm   

Following a character
 
I'm trying to figure out how to have the map keep up with me if I am following someone. I've tried setting up triggers, but I must be using the wrong syntax. If someone is leading me the output is "You follow the mage west". My character moves west but the map doesn't update. Anyone know how to do this?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Apr 13, 2009 5:26 pm   
 
#trig {You follow mage (%w)} {#move %1}
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
azbird
Beginner


Joined: 16 Apr 2008
Posts: 21

PostPosted: Tue Apr 14, 2009 12:24 am   
 
I'm not sure this is what I'm looking for. If I'm following this right, this will move me west. The problem is I've already moved, but the map doesn't follow me. I'm looking for a way to retrieve the direction that the character already moved, and update the map position. Thanks for the help.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Apr 14, 2009 12:43 am   
 
#MOVE moves the mapper, not the character, so the mapper is updated as you walk along, following whoever you're following.

Charneus
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Apr 14, 2009 12:47 am   
 
Basically, the #move command simply moves the blue dot around. Making a trigger like that will move it wherever you go.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
azbird
Beginner


Joined: 16 Apr 2008
Posts: 21

PostPosted: Tue Apr 14, 2009 2:52 am   
 
Thanks. That's exactly what I was looking for.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net