BIS fnc objectInventoryAnimatedClose: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Function|= Comments | arma3 |Game name= |1.00|Game version= <!---|arg= local |Multiplayer Arguments=---> <!---|eff= local |Multiplayer Effects=---> | ''N/A'' |Descripti...")
 
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Scripts


<!---|arg= local |Multiplayer Arguments=--->
|arg= global


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


| ''N/A'' |Description=
|descr= Animates an object being closed, for example a drawer. The counter set by [[BIS_fnc_objectInventoryAnimatedOpen]] gets reset when this function is called.


|[] call [[BIS_fnc_ObjectInventoryAnimatedClose]]|Syntax=
|s1= [object, animationArray] call [[BIS_fnc_objectInventoryAnimatedClose]]


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|p1= object: [[Object]] - Object


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


|x1= <code></code>|Example 1=
|r1= [[Nothing]]


|exec= call |Execution=
|seealso= [[BIS_fnc_objectInventoryAnimatedOpen]]
 
| |See also=
}}
}}
[[Category:Function Group: Scripts|{{uc:ObjectInventoryAnimatedClose}}]]
[[Category:Functions|{{uc:ObjectInventoryAnimatedClose}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ObjectInventoryAnimatedClose}}]]

Revision as of 11:14, 14 June 2021

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