|
Michael Nelson Novice
Joined: 03 Oct 2005 Posts: 36
|
Posted: 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
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
|
Michael Nelson Novice
Joined: 03 Oct 2005 Posts: 36
|
Posted: 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.
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
|
|