Timed Failsafe for Actions?

ellfireellfire Member Posts: 187
edited February 2012 in Working with GS (Mac)
Hello everybody. Does anyone out there in GS land have a good way of creating a timed failsafe for a rule?

Ex. In the game I am currently working, I have a set of rules that act as an on/off switch for another action. 99.9% of the time this works. However, every once and awhile it "gets stuck" in the "on" state, and you need to reset the level. I haven't been able to track down the exact bug or even find a consistent way to reproduce it.

The "switch" is only one for a few tenths of a second. Is there a way to create a rule that can look at the boolean attribute that triggers the attribute and say, "If this is set to true for more than X seconds, switch to false." This sort of mechanism would sort act as a failsafe to the bug.

Any ideas would be greatly appreciated. Thanks.

Comments

Sign In or Register to comment.