BIS fnc objectInventoryAnimatedOpen: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *O([a-z])" to "$1 - o$2") |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.00 | |version1= 1.00 | ||
|gr1 = Scripts | |gr1= Scripts | ||
|arg= global | |arg= global | ||
Line 15: | Line 12: | ||
|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 [[ | |s1= [object, animationArray] call [[BIS_fnc_objectInventoryAnimatedOpen]] | ||
|p1= object: [[Object]] - | |p1= object: [[Object]] - object | ||
|p2= animationArray: [[Array]] - | |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 | ||
Line 25: | Line 22: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|seealso= [[BIS_fnc_objectInventoryAnimatedClose]] | |||
|seealso= [[ | |||
}} | }} | ||
Latest revision as of 14:42, 8 November 2023
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