How to listen to existing key events?
Posted: Tue Mar 26, 2019 8:51 pm
I can define a control and then register an event listener to execute a script when user presses that key.
I would like to do similarly but for the base game controls - e.g. when user presses M to open a map.
Is there any way to achieve that or do I have to define my own control and ask the user to set both my control and the base game control to the same key?
I would like to do similarly but for the base game controls - e.g. when user presses M to open a map.
Is there any way to achieve that or do I have to define my own control and ask the user to set both my control and the base game control to the same key?