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 - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|gr1 = Scenes |GROUP1=
|gr1 = Scenes


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


| param call [[BIS_fnc_sceneSetAnimationsForGroup]]; |SYNTAX=
| param call [[BIS_fnc_sceneSetAnimationsForGroup]];


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


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


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


| |SEEALSO=
|


}}
}}

Revision as of 23:45, 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

Bottom Section