Character.setFlying

Sets whether the character is flying.

Kind: Function

Environments: Game

Game

character:setFlying( state )

Open the full Game reference

Availability: Server only

Will not activate flight for player characters.

Parameters:

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