playMove

From Bohemia Interactive Community
Revision as of 18:42, 31 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


soldier playMove moveName


Operand types:

soldier: Object

moveName: String

Type of returned value:

Nothing

Description:

When used on person, smooth transition to given move will be done.


Example:

soldierOne playMove "Stand"


Comments

For an immediate transition use switchMove.

This command must be executed after mission start.

If you place it into init.sqs or in the Init field of some unit, it will not work.

Just add a little delay (~0.001) and then place the command.