Quote from
lord_blex on June 16, 2013, 9:46 am
So. Let's say I have a button, that controls a door. OnPressed opens the door with a 5 sec delay, OnUnPressed closes it. If I hop off the button before the delay ticks down, the door will close, then it will open and stay that way, which should not happen.
What's the "official" solution to this problem? It seems like something that would come up often, but I could not solve it..
So. Let's say I have a button, that controls a door. OnPressed opens the door with a 5 sec delay, OnUnPressed closes it. If I hop off the button before the delay ticks down, the door will close, then it will open and stay that way, which should not happen.
What's the "official" solution to this problem? It seems like something that would come up often, but I could not solve it..
- Science isn't about why, it's about why not!
Quote from
lord_blex on June 16, 2013, 12:28 pm
cool, I knew I was missing something 
cool, I knew I was missing something 
- Science isn't about why, it's about why not!