BIS fnc sceneSetAnimationsForGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(26 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


|gr1 = Scenes |GROUP1=
|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. |Parameter1=
|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. |Parameter2=


| [[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> |Example1=  
|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">Bottom Section</h3>
[[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