BIS fnc sceneSetAnimationsForGroup: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Added params examples & syntax.) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Plays a range of animations for a specific set of units, intended for use during cutscenes. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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
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