BIS fnc sceneSetAnimationsForGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Scenes(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1 = Scenes |GROUP1=
|gr1 = Scenes |GROUP1=
____________________________________________________________________________________________


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


| param call [[BIS_fnc_sceneSetAnimationsForGroup]]; |SYNTAX=
| param call [[BIS_fnc_sceneSetAnimationsForGroup]]; |SYNTAX=
Line 18: Line 15:


| [[Boolean]] - Returns true if all animations started. |RETURNVALUE=
| [[Boolean]] - Returns true if all animations started. |RETURNVALUE=
____________________________________________________________________________________________


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


| |SEEALSO=
| |SEEALSO=

Revision as of 00:51, 17 January 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

Notes

Bottom Section