playMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Not usable in init)
Line 31: Line 31:


For an immediate transition use [[switchMove]].
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.

Revision as of 18:20, 31 July 2006


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.