BIS fnc sceneSetAnimationsForGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 17: Line 17:
|descr= Plays a range of animations for a specific set of units, intended for use during cutscenes.
|descr= Plays a range of animations for a specific set of units, intended for use during cutscenes.


|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.
Line 24: Line 24:
|r1=[[Boolean]] - Returns true if all animations started.
|r1=[[Boolean]] - Returns true if all animations started.


|x1= <code>setAnims = <nowiki>[group player, ["AmovPercMstpSrasWrflDnon"]]</nowiki> call BIS_fnc_sceneSetAnimationsForGroup;</code>
|x1= <code>_setAnims = [<nowiki/>[[group]] [[player]], ["AmovPercMstpSrasWrflDnon"]] [[call]] [[BIS_fnc_sceneSetAnimationsForGroup]];</code>
 
|seealso=
}}
}}
[[Category:{{Name|arma2}}: Functions|{{uc:sceneSetAnimationsForGroup}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:sceneSetAnimationsForGroup}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:sceneSetAnimationsForGroup}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:sceneSetAnimationsForGroup}}]]

Revision as of 00:54, 14 June 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