Tile - YCharacter - Force Flying – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


==== flying ====
==== flying ====
Flight state (boolean)
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===

Revision as of 11:16, 12 November 2021

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.