playMove

From Bohemia Interactive Community
Revision as of 18:20, 31 July 2006 by Str (talk | contribs) (Not usable in init)
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 Init field of some unit, it will not work. Just add a little delay (~0.001) and the place the command.