From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- When used on a person,the given move is started immediately (without transition).
- Groups:
- Animations
Syntax
- Syntax:
- soldier switchGesture moveName
- Parameters:
- soldier: Object
- moveName: String
- Return Value:
- Nothing
- Syntax:
- soldier switchGesture [moveName, time, blendFactor, resetAim]
- Parameters:
- moveName: String - Entry from "CfgMovesMaleSdr" >> "states" or "CfgGesturesMale" >> "states"
- time: Number - (Optional, default: 0) progress time, in range 0-1, where 0 = beginning of the animation, and 1 = end of the animation
- blendFactor: Number - (Optional, default: 0) In range 0-1. How much to blend the new animation with the current animation.
- resetAim: Boolean - (Optional, default: true) Whether the aim/head direction should be reset after switching
- Return Value:
- Nothing
Examples
- Example 1:
soldierOne switchGesture "Wave";
- Example 2:
Additional Information
- See also:
- playGesture getUnitMovesInfo switchMove
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
-
- Posted on 2010-08-31
- kju
-
Rpt says "Not implemented" as of OA 1.54.