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
wilh
Wanderer


Joined: 08 Feb 2001
Posts: 89
Location: USA

PostPosted: 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
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: 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
Reply with quote
wilh
Wanderer


Joined: 08 Feb 2001
Posts: 89
Location: USA

PostPosted: 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
Reply with quote
Phazic
Novice


Joined: 12 Oct 2000
Posts: 32
Location: USA

PostPosted: 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
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