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
jmmq
Newbie


Joined: 22 Nov 2007
Posts: 6

PostPosted: Tue Dec 11, 2007 3:09 am   

Confuring Mapper , Doors.
 
Hi,

I want to configure the mapper to correctly map the mud. I want a trigger or something that automatic take the doors exit and make them.

Info: The doors respond to the direction name (example: door to north = open north works fine to open it)

Interior de la puerta este //RoomName
[Salidas: (este) oeste] //Exits lines the (este) means that is a closed door to the east
Estas ante dos pequenyas torretas de vigilancia, conectadas entre si por //description
un puente bajo el cual se abre la Puerta Este de la Ciudad. La Calle principal //description
queda al oeste, al sur empieza la Carretera de la Muralla, aunque esta muy //description
sucia y parece abandonada. Al este, cruzas el portalon y sales de la ciudad. //description
Hay un centinela apostado en la puerta. //mob in the room

<3171hp 1334/1826/763/2090m 1249mv> [100%] //my prompt


I automatic configure the mapper, and the directions are well defined.
I try making a trigger like #TRIGGER {(%w) is closed} {#DOOR %lastdir() %1;#NODIR} (from the help of zmud)
but it didnt work, i prefer something like when i enter the new room mapped (doing a north) and then zmud finds the (east) in the exit line automatic do the door.
Reply with quote
jmmq
Newbie


Joined: 22 Nov 2007
Posts: 6

PostPosted: Tue Dec 11, 2007 3:52 am   
 
Mmm..
i make a trigger so in the exit line it makes #door north (for example)
but it makes me the door in the previous room, i think it is because the room is not yet created, what can i do? ideas?
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Fri Dec 14, 2007 12:03 pm   
 
Try saving the #door commands to a variable and then executing them in your prompt trigger, when the mapper will have moved you to the current room. You need to delay execution of the #door command.
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