How to make?
Quickly pressing buttons in turn, for example, to the left and to the right leading to the value True.
How to make?
Quickly pressing buttons in turn, for example, to the left and to the right leading to the value True.
Please Help!
You are looking for something to happen if 2 other things happen within a specific window?
In the blueprint below I’m looking to see if the P key is pressed within 1 second of the O key.
When the O key is pressed:
-Sets “Second Key” boolean to False
-Sets “Window Open” to true
-Starts a 1 second timeline
When P is pressed:
-Sets “Second Key” to True
-Timeline
On each update it will check to see if the Second Key is true (P pressed) , if yes it will Print “In Window!”, reset “Second Key” and then Stop the timeline. The print String is where you would add your True Boolean variable.
If the P key is not pressed, it will continually print “Not in window” for each tick of the timeline (not needed just for show)
When the timeline finishes without the P key being pressed, it will print “Window Closed!”
Since the Boolean is reset on the trigger, you can activate this many times, you probably should have a check on the initial trigger to see if your end condition as already been met.
Thank you very much. You helped me a lot.