BIS fnc sceneSetAnimationsForGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(39 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma2
____________________________________________________________________________________________
|version1= 1.00


| arma2 |= Game name
|game2= arma2oa
|version2= 1.50


|1.00|= Game version
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| <pre>
|game4= arma3
/*******************************************************************************
|version4= 0.50
*
* version: 1.0
* name:
* description: play animations recieved as parameter on group
* paramater: group and animation arrays
* return value: true if all animation started
*
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_sceneSetAnimationsForGroup]]; --> |= Syntax
|gr1= Scenes


|p1= |= Parameter 1
|descr= Plays a range of animations for a specific set of units, intended for use during cutscenes.


| |= Return value
|s1= param call [[BIS_fnc_sceneSetAnimationsForGroup]]
____________________________________________________________________________________________


|x1= <code></code> |=  
|p1= [[Array]] - units that should play animations.
____________________________________________________________________________________________
|p2= [[Array]] - array of animation names (in format [[String]]) to play.


| |= See also
|r1= [[Boolean]] - returns true if all animations started.


|x1= <sqf>private _setAnims = [group player, ["AmovPercMstpSrasWrflDnon"]] call BIS_fnc_sceneSetAnimationsForGroup;</sqf>
|seealso=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Scenes|{{uc:sceneSetAnimationsForGroup}}]]
[[Category:Functions|{{uc:sceneSetAnimationsForGroup}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:sceneSetAnimationsForGroup}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:sceneSetAnimationsForGroup}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:sceneSetAnimationsForGroup}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:sceneSetAnimationsForGroup}}]]

Latest revision as of 15:52, 8 November 2023

Hover & click on the images for description

Description

Description:
Plays a range of animations for a specific set of units, intended for use during cutscenes.
Execution:
call
Groups:
Scenes

Syntax

Syntax:
param call BIS_fnc_sceneSetAnimationsForGroup
Parameters:
Array - units that should play animations.
Array - array of animation names (in format String) to play.
Return Value:
Boolean - returns true if all animations started.

Examples

Example 1:
private _setAnims = [group player, ["AmovPercMstpSrasWrflDnon"]] call BIS_fnc_sceneSetAnimationsForGroup;

Additional Information

See also:
See also needed

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