BIS fnc objectInventoryAnimatedClose: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2")
Line 16: Line 16:
|p1= object: [[Object]] - Object
|p1= object: [[Object]] - Object


|p2= animationArray: [[Array]] - An Array in form of:<br>
|p2= animationArray: [[Array]] - an Array in form of:<br>
0: String - Animation Name<br>
0: String - Animation Name<br>
1: Number - Animation phase
1: Number - Animation phase

Revision as of 13:40, 8 November 2023

Hover & click on the images for description

Description

Description:
Animates an object being closed, for example a drawer. The counter set by BIS_fnc_objectInventoryAnimatedOpen gets reset when this function is called.
Execution:
call
Groups:
Scripts

Syntax

Syntax:
[object, animationArray] call BIS_fnc_objectInventoryAnimatedClose
Parameters:
object: Object - Object
animationArray: Array - an Array in form of:
0: String - Animation Name
1: Number - Animation phase
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
BIS_fnc_objectInventoryAnimatedOpen

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