CON_MenuCancel is used for the Player menu. CON_ObjectMenuCancel is used for engine menus that are called by script. CON_CancelMenu is used for scripted menus. I assumed that if the controls for CON_ObjectMenuCancel or CON_MenuCancel are issued, this is all handled in the engine and the control doesn't even reach
global func PlayerControl
. If I am wrong, CON_CancelMenu is not needed and you could change the code in Libraries/ClonkControl to CON_ObjectMenuCancel and delete the CON_CancelMenu stuff from the PlayerControls.txt
CON_ObjectMenuCancel does not reach script at the moment. But since its engine implementation only closes the active cursor menu, it could be easily implemented in script instead of using the engine function.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill