BIS fnc sceneSetAnimationsForGroup: Difference between revisions

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


| arma2 |Game name=
|game1= arma2
|version1= 1.00


|1.00|Game version=
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Plays a range of animations for a specific set of units, intended for use during cutscenes. |DESCRIPTION=
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| param call [[BIS_fnc_sceneSetAnimationsForGroup]]; |SYNTAX=
|game4= arma3
|version4= 0.50


|p1= [[Array]] - Units that should play animations. |Parameter1=
|gr1= Scenes
|p2= [[Array]] - Array of animation names (in format [[String]]) to play. |Parameter2=


| [[Boolean]] - Returns true if all animations started. |RETURNVALUE=
|descr= Plays a range of animations for a specific set of units, intended for use during cutscenes.
____________________________________________________________________________________________


|x1= <code>setAnims = <nowiki>[group player, ["AmovPercMstpSrasWrflDnon"]]</nowiki> call BIS_fnc_sceneSetAnimationsForGroup;</code> |Example1=
|s1= param call [[BIS_fnc_sceneSetAnimationsForGroup]]
____________________________________________________________________________________________


| |SEEALSO=
|p1= [[Array]] - units that should play animations.
|p2= [[Array]] - array of animation names (in format [[String]]) to play.


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


<h3 style="display:none">Notes</h3>
|x1= <sqf>private _setAnims = [group player, ["AmovPercMstpSrasWrflDnon"]] call BIS_fnc_sceneSetAnimationsForGroup;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso=
</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