Unit.setMovementType
Sets the movment type for a unit
Kind: Function
Environments: Game
Game
unit:setMovementType( moveTypeName )
Availability: Server only
moveType can be "stand", "walk", "sprint" or "crouch"
Parameters:
| Name | Type | Description |
|---|---|---|
unit |
Unit | The unit. |
moveTypeName |
string | The movement type to set |