Unit.setWantsCrouch

Set a unit to crouch

Kind: Function

Environments: Game

Game

unit:setWantsCrouch( wantCrouch )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
unit Unit The unit.
wantCrouch boolean True if the unit should crouch