|
Belariad Newbie
Joined: 04 Feb 2007 Posts: 9
|
Posted: 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? |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Tue Mar 06, 2007 11:16 pm |
You might try the #QUEUE command and see it that helps.
|
|
_________________ Asati di tempari! |
|
|
|
Odoth Wanderer
Joined: 13 Nov 2004 Posts: 54 Location: Visalia, CA
|
Posted: 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* |
|
|
|
|
|