Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:3.10

Description

Description:

Puts a another gesture into the queue. This gesture is played after the first one (defined using switchGesture) ends. The command has to be executed right after switchGesture (without any pauses in-between).

To determine whether gestures can be linked, look for the connectTo array definition in the gestures properties.

Syntax

Syntax:soldier playGesture gesture
Parameters:
  • soldier: unit - Player or AI unit.
  • gesture: String - Name of gesture (see CfgGesturesMale for available classes).
Return Value:Nothing

Examples

Examples:
Player removes the binoculars from their holster (switchGesture), and then brings them up to the eyes (playGesture):
player switchGesture "gestureAmovPercMstpSlowWrflDnon_AwopPercMstpSoptWbinDnon";
player playGesture "gestureAmovPercMstpSlowWrflDnon_AwopPercMstpSoptWbinDnon_end";

Additional Information

See also: switchGesture, playAction, playMoveNow, playMove
Multiplayer: 
Problems: 

Notes