BIS fnc sceneSetAnimationsForGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2")
Line 20: Line 20:


|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.

Revision as of 13:40, 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