BIS fnc 3den onKeyDown: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (page filled)
m (Text replacement - "[[Category:Function Group: 3DEN|" to "[[Category:Function Group: Eden Editor|")
Line 36: Line 36:
}}
}}


[[Category:Function Group: 3DEN|{{uc:3den_onKeyDown}}]]
[[Category:Function Group: Eden Editor|{{uc:3den_onKeyDown}}]]
[[Category:Functions|{{uc:3den_onKeyDown}}]]
[[Category:Functions|{{uc:3den_onKeyDown}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3den_onKeyDown}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3den_onKeyDown}}]]

Revision as of 13:38, 1 October 2020

Hover & click on the images for description

Description

Description:
Used internally by the Arma 3 Key Frame Animation system. Called when a button is pressed.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[display, button, shift, ctrl, alt] call BIS_fnc_3den_onKeyDown
Parameters:
display: Display - The display
button: Number - Key code of the pressed button
shift: Boolean - SHIFT key
ctrl: Boolean - CTRL key
alt: Boolean - ALT key
Return Value:
Boolean - Whether or not to consume the input

Examples

Example 1:
findDisplay 313 displayAddEventHandler ["keyDown", {_this call BIS_fnc_3den_onKeyDown}];

Additional Information

See also:
Arma 3 Key Frame Animation

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note