From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description


When used on a person, smooth transition to given move will be done.
The difference between playMove and playMoveNow is that playMove adds another move to the move queue, while playMoveNow replaces the whole move queue with new move (see Example 2).
see Category:Moves for respective games animations.
A transition is only possible if the current and provided animations have the correct relationship configuration.


unitName playMove moveName
unitName: Object
moveName: String
Return Value:


Example 1:
soldierOne playMove "Stand";
Example 2:
player switchMove "AmovPercMstpSrasWrflDnon"; [] spawn { sleep 0.5; player playMove "AmovPpneMstpSrasWrflDnon"; // player goes prone player playMove "amovPknlMstpSrasWrflDnon"; // player gets up on one knee };
Example 3:
player switchMove "AmovPercMstpSrasWrflDnon"; [] spawn { sleep 0.5; player playMove "AmovPpneMstpSrasWrflDnon"; // player never goes prone player playMoveNow "AmovPknlMstpSrasWrflDnon"; // player goes down on one knee straight away };

Additional Information

See also:
playMoveNow switchMove playAction playActionNow


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
Macguba - c
Posted on Apr 16, 2006 - 02:39 (UTC)
For an immediate transition use switchMove. This command must be executed after mission start. If you place it into init.sqs / init.sqf or in the Init field of some unit, it will not work. Just add a little delay (~0.001) and then place the command.