|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: Tue Apr 16, 2002 12:55 am
Forced mapping |
I would like my mapper to ignore the input to the mud and only go by what it says, for example this is what it looks like (input lines will start with a star):
*south
You walk south.
A Dusty Smithy
Obvious exits: North East South@ West
An slimy cecratche seer stands here, clicking quietly to itself.
but sometimes in mist zones the input and the output don't match up because you get lost, but it always shows you which way you actually went through the "You walk ..." i can get it to move when it sees the "You walk..." but it doubles up because it's going in that direction for the input and the trigger i set up. i only want it to worry about what the mud sends. is there any way to do this? |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Apr 16, 2002 1:14 am |
Try this:
#TRIGGER {You walk (%w)} {#NODIR;#MOVE %1}
Kjata |
|
|
|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: Tue Apr 16, 2002 1:27 am |
do you think that will work for mapping to?
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Apr 16, 2002 1:30 am |
It should work for mapping, but you may need to use the #MAKE command instead of #MOVE if the room you are moving into does not exist.
Kjata |
|
|
|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: Fri May 10, 2002 4:49 am |
Well, i thought is was all working properly but apparently my trigger wasn't even catching because i tried using %t instead of %w ... but anyways, it does help for mist zones and it also fixes a few other problems, but it also causes my mapper to double open doors. like so:
*open door east
*east
It's already open!
You walk east.
*open door east
A Wide Circle of Willow Trees
Obvious exits: East South West
An animate tree with rope-like branch limbs lurches through here.
That's impossible, I'm afraid.
it sends the open door command like normal before it sends the direction command, but then because of my trigger it tries to open it immediatly after walking in whatever direction i went. i wouldn't ever need it to open the door in the direction i actually went even if it's not the direction i typed in. and when going accross zones it jumps an extra room in which ever direction i was headed.
any ideas? |
|
|
|
|
|