Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
teion
Wanderer


Joined: 03 May 2005
Posts: 72

PostPosted: Wed Jul 31, 2013 12:35 pm   

room scripts not firing
 
hello I have a trigger for room 74651

the trigger is
#trigger {^ The gate is closed and will likely remain so until dawn. Perhaps} {#nomap;#nodir} Room74651

My problem is that my room scripts (triggers) will not fire when they are in the room class. If I am in the room I can see
that the room class is active.

However when I put the same trigger in the root class or a class that is active all the time the trigger does work correctly. I can't figure out
what it is that is causing room scripts to not fire.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Jul 31, 2013 8:41 pm   
 
check your speedwalking mode. Room scripts don't fire when you're in FAST mode.
_________________
EDIT: I didn't like my old signature
Reply with quote
teion
Wanderer


Joined: 03 May 2005
Posts: 72

PostPosted: Thu Aug 01, 2013 8:46 am   
 
sorry I meant to say I keep speedwalking on safe mode and I can verify the triggers work as long as they are not in the room script classes.
Reply with quote
teion
Wanderer


Joined: 03 May 2005
Posts: 72

PostPosted: Thu Aug 01, 2013 11:27 am   
 
Here is a copy of the xml output for the class //note this is a different room class and trigger but the same is going on


CLASS
<class name="Room59868" keyword="Room59868" id="1354">
<onenable>#trigger {^A guard stands in your face, challenging you to get past him to enter.} {#nomap;#nodir;#echo fire} Room59868</onenable>
<trigger priority="13550" id="1355">
<pattern>^A guard stands in your face, challenging you to get past him to enter.</pattern>
<value>#nomap;#nodir;#echo fire</value>
</trigger>
</class>

Trigger inside class Room59868
<trigger priority="13550" id="1355">
<pattern>^A guard stands in your face, challenging you to get past him to enter.</pattern>
<value>#nomap;#nodir;#echo fire</value>
</trigger>


What happens is that the mapper does not get the prompt because I cant enter the room while the guard is still alive. However after entering the direction to get inside the camp (enter) the class is disabled and if i move another direction the map skips around.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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