I have tried to use a Keyboard Actuator to collect text into a string property as described in the Game documentation.
It doesn’t seem to work - what am I doing wrong?
I set the keyboard sensor to ALL KEYS. Created a boolean property called ‘bool’, value false. Type ‘bool’ into the logtoggle box. Created a string property called ‘text’, type ‘text’ into the Property box.
Well, the property that indicates if keystrokes should be logged into a property must be ‘true’ if you want the keystrokes logged. In your case it is the property ‘bool’ that needs to be set to true.
Otherwise it doesn’t log the keystrokes (as it is supposed to when set ‘false’).