playMove: Difference between revisions
Jump to navigation
Jump to search
m (Not usable in init) |
mNo edit summary |
||
Line 32: | Line 32: | ||
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 | 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. |
Revision as of 17:42, 31 July 2006
soldier playMove moveName
Operand types:
soldier: Object
moveName: String
Type of returned value:
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.