BIS fnc sceneSetAnimationsForGroup: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) 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 | {{Function | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1 = Scenes | |gr1 = Scenes | ||
| Plays a range of animations for a specific set of units, intended for use during cutscenes. | | Plays a range of animations for a specific set of units, intended for use during cutscenes. | ||
| param call [[BIS_fnc_sceneSetAnimationsForGroup]]; | | param call [[BIS_fnc_sceneSetAnimationsForGroup]]; | ||
|p1= [[Array]] - Units that should play animations. | |p1= [[Array]] - Units that should play animations. | ||
|p2= [[Array]] - Array of animation names (in format [[String]]) to play. | |p2= [[Array]] - Array of animation names (in format [[String]]) to play. | ||
| [[Boolean]] - Returns true if all animations started. | | [[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"]]</nowiki> call BIS_fnc_sceneSetAnimationsForGroup;</code> | ||
| | | | ||
}} | }} |
Revision as of 23:45, 17 January 2021
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