How do I briefly disable a button after it's been released?
I'm trying to create a situation where if you hold a shoulder button down, it allows you to move an object as much as you'd like, but when you finally release the button, controls are disabled for a second. Any help would be appreciated
-
You could Wire shoulder button to a 0.1 sec timer which triggers upon button press. Then have shoulder button wired to a "not" gate as well. Have the timer output and "not" gate wired to an "and" gate. Basically it says when you've pressed shoulder button and let it go.. this happens. The "this" could be another timer which is set to the time you want to disable the controls for, and have that wired to microchips disabling specific buttons. I realise this sounds a tad confusing written out, so if you have any questions just hit me up on PSN and I'll assist you better.
-
Pokerjer, thanks so much! I used your first suggestion. I couldnt get the entire thing to work properly, but the most confusing part (getting it to recognize when the button has been released) worked as you said. I was able to figure out a workaround for the rest using a timeline and key frames.
請登入寫評論。