playMoveNow

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2 version 1.00
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
When used on a person,a smooth transition to the given move will be initiated, but all previous playMove are discarded. List of moves in ArmA 2
List of moves in Armed Assault
List of moves in Operation Flashpoint: Resistance

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: player switchMove "amovpercmstpsraswrfldnon"; [] spawn { sleep 0.5; player playMove "amovppnemstpsraswrfldnon"; // player goes prone player playMove "amovpknlmstpsraswrfldnon"; // player gets up on one knee }; Compared to: 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 };

Syntax

Syntax:
soldier playMoveNow moveName
Parameters:
soldier: Object -
moveName: String -
Return Value:
Nothing

Examples

Example 1:
player playMoveNow "AmovPercMevaSlowWrflDf"

Additional Information

Multiplayer:
-
See also:
playMoveswitchMoveplayActionplayActionNow

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section