How can i do this? I need a pause for listening keyboard and mouse when a condition start. Is there a node for this?
Hello. To clarify, you want a delay in registering either keyboard or mouse inputs? Might I ask why? (There may be a more efficient way to go about instead of delays for input depending on the situation you’re in.)
I’m working on a race game for last two months. I need to add a pit stop mode.
When I entered the pit stop, vehicle going under the “Translate Object Node” control. However, at this time, I can control my vehicle because the keyboard inputs are active. Keyboard control needs to be turned off during pit stop.
I would suggest a simple boolean check system then to check whether you’re in the pit stop or not. In my example, I also demonstrate a toggle to the boolean that’s triggerable via the Space key. For you though, you’ll probably be using a Volume Trigger or such to trigger the pit stop toggle.
Example - Logic Nodes
Example - Game Property (Boolean)
Very smart solution. Thank you paladin.