I want to give possibility to change controls.
How do i get the player input key as a variable?
example i want to change an orginal key push for an attack from key ( A ) to key ( S ).
Wish to have that option for the player.
From my MMF Tech Manual:
Allowing User To Define Keys In Game -
You would like to allow users to define the keys in-game rather than using the regular menu? You would also like to have an options screen where keys are defined in there.
Solution:
Use the Control X Object. You can ask for a key to be pressed and then use this to determine the last key pressed: LastKeyPressed$( "Control X" ). The Control X Object allows player to change the controls.