BIS fnc sceneSetAnimationsForGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Added params examples & syntax.)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>
| Plays a range of animations for a specific set of units, intended for use during cutscenes. |= Description
/*******************************************************************************
*
* version: 1.0
* name:
* description: play animations recieved as parameter on group
* paramater: group and animation arrays
* return value: true if all animation started
*
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_sceneSetAnimationsForGroup]]; --> |= Syntax
| param call [[BIS_fnc_sceneSetAnimationsForGroup]]; |= Syntax


|p1= |= Parameter 1
|p1= [[Array]] - Units that should play animations.
*[[Group]] - Can also be of type group.|= Parameter 1
|p2= [[Array]] - Array of animation names (in format [[String]]) to play. |=


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


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



Revision as of 17:00, 2 October 2014


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

Syntax

Syntax:
param call BIS_fnc_sceneSetAnimationsForGroup;
Parameters:
Array - Units that should play animations.
  • Group - Can also be of type group.
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