Ylands:Tile - YCharacter - Force Flying

From Bohemia Interactive Community
Jump to navigation Jump to search

Force Flying(Character, Flying)

YlandsTile-315.png

forceFlying(flying: boolean): void;

Parameters

flying

Flight state (boolean)

Availability

Server

Description

Allows to force a character in to the flight mode.

Notes

  • Character have to have the ability to fly enabled (see: Get / Set Can Fly).
  • Doesn't affect flight with propeller pack.