Character.setDiving

Sets whether the character is diving.

Kind: Function

Environments: Game

Game

character:setDiving( state )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
character Character The character.
state boolean The diving state.