BIS fnc 3den onKeyDown: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9])=([^ ]+) * \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])= ([^ ]+) (\[\[call\]\]) ([^ ]+) " to "|s$1= $2 call $4 ") |
||
Line 8: | Line 8: | ||
|descr= Used internally by the [[Arma 3 Key Frame Animation]] system. Called when a button is pressed. | |descr= Used internally by the [[Arma 3 Key Frame Animation]] system. Called when a button is pressed. | ||
|s1= [display, button, shift, ctrl, alt] | |s1= [display, button, shift, ctrl, alt] call [[BIS_fnc_3den_onKeyDown]] | ||
|p1= display: [[Display]] - The display | |p1= display: [[Display]] - The display |
Revision as of 18:18, 20 June 2021
Description
- Description:
- Used internally by the Arma 3 Key Frame Animation system. Called when a button is pressed.
- Execution:
- call
- Groups:
- KeyframeAnimation
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