BIS fnc 3den onKeyUp: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "")
m (Text replacement - "Arma 3 Key Frame Animation" to "Key Frame Animation")
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.56
|version1= 1.56


|gr1= KeyframeAnimation
|gr1= KeyframeAnimation


|descr= Used internally by the [[Arma 3 Key Frame Animation]] system. Called when a button is released.
|descr= Used internally by the [[Arma 3: Key Frame Animation|Key Frame Animation]] system. Called when a button is released.


|s1= [display, button, shift, ctrl, alt] [[call]] [[BIS_fnc_3den_onKeyUp]]
|s1= [display, button, shift, ctrl, alt] call [[BIS_fnc_3den_onKeyUp]]


|p1= display: [[Display]] - The display
|p1= display: [[Display]] - the display


|p2= button: [[Number]] - Key code of the pressed button
|p2= button: [[Number]] - key code of the pressed button


|p3= shift: [[Boolean]] - SHIFT key
|p3= shift: [[Boolean]] - SHIFT key
Line 21: Line 20:
|p5= alt: [[Boolean]] - ALT key
|p5= alt: [[Boolean]] - ALT key


|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= <sqf>findDisplay 313 displayAddEventHandler ["keyUp", {_this call BIS_fnc_3den_onKeyUp}];</sqf>


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

Latest revision as of 21:52, 23 April 2024

Hover & click on the images for description

Description

Description:
Used internally by the 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:
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