BIS fnc 3den onKeyDown: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Comments" to "|Comments=") |
m (page filled) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | |game1= arma3 | ||
|1.56 | |version1= 1.56 | ||
<! | <!--|serverExec= server--> | ||
<! | <!--|arg= local--> | ||
| | <!--|eff= local--> | ||
|descr= Used internally by the [[Arma 3 Key Frame Animation]] system. Called when a button is pressed. | |||
|s1= [display, button, shift, ctrl, alt] [[call]] [[BIS_fnc_3den_onKeyDown]] | |||
| | |p1= display: [[Display]] - The display | ||
| | |p2= button: [[Number]] - Key code of the pressed button | ||
| | |p3= shift: [[Boolean]] - SHIFT key | ||
| | |p4= ctrl: [[Boolean]] - CTRL key | ||
|exec= call | | |p5= alt: [[Boolean]] - ALT key | ||
|r1= [[Boolean]] - Whether or not to consume the input | |||
|x1= <code>[[findDisplay]] 313 [[displayAddEventHandler]] ["keyDown", {[[_this]] [[call]] [[BIS_fnc_3den_onKeyDown]]}];</code> | |||
|exec= call | |||
|seealso= [[Arma 3 Key Frame Animation]] | |||
}} | }} | ||
Revision as of 10:11, 23 July 2020
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