|
wilh Wanderer
Joined: 08 Feb 2001 Posts: 89 Location: USA
|
Posted: Thu Jan 23, 2003 2:58 am
Locked Doors and the Mapper |
Is there a command that will notify the mapper that the door in a given direction is locked?
I've
Wil Hunt |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Thu Jan 23, 2003 3:22 am |
What would you like it to notify the zmapper to do?. try this as a trigger
#TRIGGER {(%w) is closed} {#DOOR %lastdir() %1;#NODIR}
This was in the help files under NODIR
Hope that helps.
megamog75 |
|
|
|
wilh Wanderer
Joined: 08 Feb 2001 Posts: 89 Location: USA
|
Posted: Thu Jan 23, 2003 3:26 am |
I already have it set up to create doors at appropriate times. If when you attempt to open it, however, you find that the door is locked, I would like to notify the mapper of this.
Wil
Wil Hunt |
|
|
|
Phazic Novice
Joined: 12 Oct 2000 Posts: 32 Location: USA
|
Posted: Thu Jan 23, 2003 9:35 am |
I haven't seen a way to do this in Zmud by itself. I was able to do it using COM object scripting via the Zmapper plugin using the %map.newlink function and passing different values to the KindId, defaults to 0 for normal exit, 1 to unlocked door and 2 for locked door, but this can be changed.
-Phazic
zMapper 1.15/zMUD 6.40 on WinXP |
|
|
|
|
|