BIS fnc sceneSetAnimationsForGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(34 intermediate revisions by 2 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


| Plays a range of animations for a specific set of units, intended for use during cutscenes. |DESCRIPTION=
|game4= arma3
____________________________________________________________________________________________
|version4= 0.50


| param call [[BIS_fnc_sceneSetAnimationsForGroup]]; |SYNTAX=
|gr1= Scenes


|p1= [[Array]] - Units that should play animations. |=
|descr= Plays a range of animations for a specific set of units, intended for use during cutscenes.
|p2= [[Array]] - Array of animation names (in format [[String]]) to play. |=


| [[Boolean]] - Returns true if all animations started. |RETURNVALUE=
|s1= param call [[BIS_fnc_sceneSetAnimationsForGroup]]
____________________________________________________________________________________________


|x1= <code>setAnims = <nowiki>[group player, ["AmovPercMstpSrasWrflDnon"]]</nowiki> call BIS_fnc_sceneSetAnimationsForGroup;</code> |=  
|p1= [[Array]] - units that should play animations.
____________________________________________________________________________________________
|p2= [[Array]] - array of animation names (in format [[String]]) to play.


| |SEEALSO=
|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 16: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