Adds an action to the main display.
They are reapplied after loading a save game. Actions only persist for the mission and are removed after restart.
_type | Display handler type to attach. STRING |
_code | Code to execute upon event. <STRING, CODE> |
_id | The ID of the attached handler. Used to remove with “CBA_fnc_removeDisplayHandler” <NUMBER> |
_id = ["KeyDown", {_this call myKeyDownEH}] call CBA_fnc_addDisplayHandler;
Sickboy, commy2