Jump to navigation Jump to search
- 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.
- soldier switchmove movename
- soldier: Object
- movename: String
- Return Value:
- Example 1:
loon1 switchMove "FXStandDip"
For a smooth transition use playMove. 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.
- Posted on March 25, 2007 - 23:48
- In some cases the movement won't stay. I.e. AI hostages that put their hands behind their heads (_hostage switchMove "AmovPercMstpSsurWnonDnon") won't hold their hands up, unless you first use disableAI "autoTarget". They mostly put their hands down because they 'noticed' unknown objects.