Reset impulse after disable?
Was suggested that I try this forum to get help.
So here's a copy/paste from the Steam forums.
Quote:
So... I got a bomb strapped to the character, it starts counting down once the player hits an Area Trigger.
When the player reaches a checkpoint, the bomb "defuses". The checkpoint simply disables a few Impulse Triggers
Problem is, the next Area Trigger to rearm the bomb makes the Impulse Triggers resume where they left off. I'd like them to start counting from zero again.
The Impulse Triggers got an option called: "Reset When Enabled"
But that makes everything fire off as soon as the player hit's the trigger (Making the bomb explode instantly.
http://i.imgur.com/G7iZhA6.jpg
I know it's a bit of a cluster f*** to look at. There's a few things I could move around and merge.
But whatever ;)
The Area Trigger triggers a sound and makes a light flash.
After 15sec it makes another sound fire on a loop.
All of that is set on X amount of impulses to stop them after 20sec.
20sec in, it hides the "dummy-explosive" and breaks the real one (Since I can't make it break the "dummy-explosive" as it's a glued object.)
And as I said above, the checkpoint simply turns off the Impluse Triggers.
The next Area Trigger makes it continue where it left off (Which is the problem).
I'm completely lost on how to reset it all once the checkpoint trigger. I'd love some help :)