D dougfinn New member May 12, 2021 #1 I'm having real trouble figuring out how to wait for user input, e.g. an agent does something only after a key press. Is there any pattern for this? It also doesn't seem possible to check for an any key press. Thanks.
I'm having real trouble figuring out how to wait for user input, e.g. an agent does something only after a key press. Is there any pattern for this? It also doesn't seem possible to check for an any key press. Thanks.
Justin Administrator Staff member May 12, 2021 #2 There is the GetButton action task that you can use. You'd store the result in a SharedBool and then use the CompareBool task.
There is the GetButton action task that you can use. You'd store the result in a SharedBool and then use the CompareBool task.
D dougfinn New member May 13, 2021 #3 Thanks for the quick response. I'm just getting to grips with this.