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
Michael Nelson
Novice


Joined: 03 Oct 2005
Posts: 36

PostPosted: Wed Oct 04, 2006 11:17 pm   

Map and Passdoor
 
I was just wondering if there was a way to mark doors as passable I would like to keep doors on my maps but I don't want to open them all in runs when I have passdoor on. It seems to me there should be a way to do this but it eludes me. Thanks
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Oct 05, 2006 1:21 am   
 
You can use the %roomnote field to store all sorts of information in any fashion you want. So yes, what you want to do is possible. Without a lot more information I really can't tell you how to do it.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Michael Nelson
Novice


Joined: 03 Oct 2005
Posts: 36

PostPosted: Thu Oct 05, 2006 1:47 am   more specific
 
Ok when you run using the map it automatically opens locations where there are doors. I do not want to do that if the DOORISPASSABLE and I have the variable PASSDOOR set to TRUE.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Oct 05, 2006 11:32 pm   
 
If you want doors on your map but don't want ZMud to do stuff with them, you need to make sure the following is properly set within Mapper Configuration Settings (click on the Config|Configuration Settings menu in the mapper, then clic on the Strings and Doors section):

The door string is sent to open doors during walking...blah blah blah (note: walking = follow mode only)
(delete anything in this text box)

Command send to unlock and open locked doors
(delete anything in this text box)

Default door name if %2 is undefined
(probably not necessary, but delete anything in this box)

Only send door command...yadda yadda
(can ignore this)

Auto door creation
(make sure this is checked)

The above is only to prevent the mapper from automatically doing things to doors that are already created. Everything else is stuff you as a scripter have to take care of. For instance, as there's not really any way to just know there's a door in a given room, you will have to use an #ONINPUT or other trigger to capture the direction command used (which probably isn't possible for non-standard exits). This trigger could then use %doorname() on that direction to see if a door existed.

That trigger would also have to do the check for passdoor and all that as well.
_________________
EDIT: I didn't like my old signature
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