Tile - YCharacter - Can Fly – Ylands

From Bohemia Interactive Community
Revision as of 11:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

Can Fly

YlandsTile-186-get.png

YlandsTile-186-set.png

get forcedCanFly(): YForcedBool;
set forcedCanFly(value: YForcedBool);

Availability

Client, Server

Description

Allows to get / set whenever a character has the flying ability. Force true / false will override current flight state. Default will return the state before this instruction was used. So if player had flight granted by a potion, he will retain it.

Can Fly

get canFly(): boolean;

Availability

Client, Server