Tile - YCharacter - Can Fly – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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