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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Belariad
Newbie


Joined: 04 Feb 2007
Posts: 9

PostPosted: Tue Mar 06, 2007 9:51 pm   

Help with fog rooms and mapper
 
I am trying to map a foggy area that sometimes sends you in a different direction than the one you wanted to go in. here's an example:

< 538/601hp 2m 80mv > west
You sneak north.
Adrift in the Hafren
Obvious exits: North East South West Down

After i type w it takes me in a different direction. is there any way to clear the direction queue and then replace it with north before it tried to map the next room? I know that i can use the #NODIR command to clear the queue but how can i make it realize the correct direction in which to go? this applies to both mapping mode and follow mode because i would like to be able to map without this annoyance but i also want to be able to get the map to follow me properly. any ideas?
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Tue Mar 06, 2007 11:16 pm   
 
You might try the #QUEUE command and see it that helps.
_________________
Asati di tempari!
Reply with quote
Odoth
Wanderer


Joined: 13 Nov 2004
Posts: 54
Location: Visalia, CA

PostPosted: Tue Mar 06, 2007 11:24 pm   
 
If you are talking about actually mapping, then I think you can do it using #nodir, #makeroom, and #look. Here's what I think will work:
Code:

#trigger {You sneak (%w).$} {#nodir;#make %1;#look}

It's messy in that it will fire on any "You sneak" message. You might try making an alias for all of you directions (north, south, east west) that creates a variable for the last direction used then compares it to %1 in the trigger before firing the commands.

From what I can tell, though, trying to use #make in a direction where there is already a room will not overwrite it, so you should be okay there.
_________________
*ribbit*
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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