BIS fnc sceneSetAnimationsForGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 22: Line 22:
|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>_setAnims = [<nowiki/>[[group]] [[player]], ["AmovPercMstpSrasWrflDnon"]] [[call]] [[BIS_fnc_sceneSetAnimationsForGroup]];</code>
|x1= <code>_setAnims = [<nowiki/>[[group]] [[player]], ["AmovPercMstpSrasWrflDnon"]] [[call]] [[BIS_fnc_sceneSetAnimationsForGroup]];</code>

Revision as of 23:26, 7 August 2021

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:
_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