Unit.setWantsCrouch
Set a unit to crouch
Kind: Function
Environments: Game
Game
unit:setWantsCrouch( wantCrouch )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
unit |
Unit | The unit. |
wantCrouch |
boolean | True if the unit should crouch |
Set a unit to crouch
Kind: Function
Environments: Game
unit:setWantsCrouch( wantCrouch )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
unit |
Unit | The unit. |
wantCrouch |
boolean | True if the unit should crouch |