|
geosmith Wanderer
Joined: 23 Apr 2005 Posts: 57
|
Posted: Sat Mar 04, 2006 4:12 am
#DOOR question |
I'm working on triggers to automatically add doors to the map based upon the exits line of the room description, an example of which is as follows:
You see exits leading east, north (closed door), and in (closed door).
Now the door to the north is easy enough - I just created a trigger with the pattern:
({north|south|east|west}) ~(%w door~)
and the value:
#door %1
What I'm struggling with, though, is creating doors (or even creating doorless exits) in non-standard directions such as in and out. Any advice on how to do so would be appreciated. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Mar 04, 2006 5:46 am |
#DOOR is a quick way to add doors, but it seems that it only works with compass directions--north, south, east, west, up, down, etc (the secondary directions--northeast, southeast, northwest, and southwest--use the h, j, k, and l letters as defined in System|Directions and System|DirectionsDiag). Since NSDs aren't going to always conform to a specific direction you either need to figure out if/which unused direction you can use or use the more work-intensive %roomwhatever() functions and #MAKEROOM command.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|
|
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
|
|