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
Risca
Beginner


Joined: 19 Nov 2003
Posts: 16
Location: USA

PostPosted: Thu Aug 28, 2014 5:48 am   

Recurring Trigger Set to False after X seconds
 
So I have a trigger that sets a value to true. This occurs every 5 seconds. However, what I want to do is if the trigger does not occur after 5 seconds, I want to set the variable to false.

What would be some methods I can accomplish this? Timer? alarms/deleting alarms? If possible to do within the same trigger, that would be ideal.
Reply with quote
raviden
Novice


Joined: 02 Nov 2010
Posts: 45

PostPosted: Thu Aug 28, 2014 5:54 pm   
 
You can add second state or do alarm that sets the value after some time in the main trigger.

Depends how is the trigger 'triggered'.
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