switchMove

From Bohemia Interactive Community
Revision as of 15:21, 5 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


soldier switchmove movename


Operand types:

soldier: Object

movename: String

Type of returned value:

Nothing

Description:

When used on a person, the given move is started immediately (there is no transition).

Use switchmove "" to switch back to the default movement if there is no transition back, otherwise the person may be stuck.


Example:

loon1 switchMove "FXStandDip"


Comments

For a smooth transition use playMove.