BIS fnc objectInventoryAnimatedOpen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Lou Montana moved page BIS fnc ObjectInventoryAnimatedOpen to BIS fnc objectInventoryAnimatedOpen: Text replacement - "BIS fnc O" to "BIS fnc o")
m (Text replacement - "\[\[BIS[ _]fnc[ _]O([^A-Z])" to "[[BIS_fnc_o$1")
Line 13: Line 13:
|descr= Animates an object being opened, for example a drawer. It also sets a counter which prevents animation to be played multiple time if more than one player accesses that drawer.
|descr= Animates an object being opened, for example a drawer. It also sets a counter which prevents animation to be played multiple time if more than one player accesses that drawer.


|s1= [object, animationArray] call [[BIS_fnc_ObjectInventoryAnimatedOpen]]
|s1= [object, animationArray] call [[BIS_fnc_objectInventoryAnimatedOpen]]


|p1= object: [[Object]] - Object
|p1= object: [[Object]] - Object
Line 25: Line 25:
|exec= call
|exec= call


|seealso= [[BIS_fnc_ObjectInventoryAnimatedClose]]
|seealso= [[BIS_fnc_objectInventoryAnimatedClose]]
}}
}}



Revision as of 00:20, 28 January 2021

Hover & click on the images for description

Description

Description:
Animates an object being opened, for example a drawer. It also sets a counter which prevents animation to be played multiple time if more than one player accesses that drawer.
Execution:
call
Groups:
Scripts

Syntax

Syntax:
[object, animationArray] call BIS_fnc_objectInventoryAnimatedOpen
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_objectInventoryAnimatedClose

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