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.
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
Returns: Nothing