BIS fnc sceneSetAnimationsForGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(3 intermediate revisions by the same user not shown)
Line 19: Line 19:
|s1= param call [[BIS_fnc_sceneSetAnimationsForGroup]]
|s1= param call [[BIS_fnc_sceneSetAnimationsForGroup]]


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


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


|x1= <code>private _setAnims = [group player, ["AmovPercMstpSrasWrflDnon"]] call BIS_fnc_sceneSetAnimationsForGroup;</code>
|x1= <sqf>private _setAnims = [group player, ["AmovPercMstpSrasWrflDnon"]] call BIS_fnc_sceneSetAnimationsForGroup;</sqf>


|seealso=
|seealso=
}}
}}

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