Description
Used internally by the Arma 3: Key Frame Animation system. Called when a button is pressed.
Syntax
[display, button, shift, ctrl, alt] call BIS_fnc_3den_onKeyDown
Parameters:
display: Display - the displaybutton: Number - key code of the pressed buttonshift: Boolean - Shift keyctrl: Boolean - Ctrl keyalt: Boolean - Alt key
Returns: Boolean - whether or not to consume the input
Examples
Example 1
findDisplay 313 displayAddEventHandler ["keyDown", { _this call BIS_fnc_3den_onKeyDown }];