BIS fnc 3den onKeyUp: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>(.*)\[\[Magic Variables#this\|_this\]\](.*)<\/code>" to "<code>$1_this$2</code>")
Line 22: Line 22:
|r1= [[Boolean]] - Whether or not to consume the input
|r1= [[Boolean]] - Whether or not to consume the input


|x1= <code>findDisplay 313 displayAddEventHandler ["keyUp", {[[Magic Variables#this|_this]] call BIS_fnc_3den_onKeyUp}];</code>
|x1= <code>findDisplay 313 displayAddEventHandler ["keyUp", {_this call BIS_fnc_3den_onKeyUp}];</code>


|seealso= [[Arma 3 Key Frame Animation]]
|seealso= [[Arma 3 Key Frame Animation]]
}}
}}

Revision as of 23:52, 12 July 2022

Hover & click on the images for description

Description

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

Syntax

Syntax:
[display, button, shift, ctrl, alt] call BIS_fnc_3den_onKeyUp
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 ["keyUp", {_this call BIS_fnc_3den_onKeyUp}];

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