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