BIS fnc objectInventoryAnimatedOpen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (filled page, proper example is still needed)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
|game1= arma3


|1.00|Game version=
|version1= 1.00


<!---|arg= local |Multiplayer Arguments=--->
<!--|exec= server|=-->


<!---|eff= local |Multiplayer Effects=--->
|arg= global


| ''N/A'' |Description=
|eff= global


|[] call [[BIS_fnc_ObjectInventoryAnimatedOpen]]|Syntax=
|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.


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|s1= [object, animationArray] call [[BIS_fnc_ObjectInventoryAnimatedOpen]]


|Datatype - description|Return value=
|p1= object: [[Object]] - Object


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


|exec= call |Execution=
|r1= [[Nothing]]
 
|exec= call
 
|seealso= [[BIS_fnc_ObjectInventoryAnimatedClose]]


| |See also=
}}
}}



Revision as of 18:33, 6 January 2020

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:
Uncategorised

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