Tile - YCharacter - Can Fly – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
<pre>get forcedCanFly(): YForcedBool;
<pre>get forcedCanFly(): YForcedBool;
set forcedCanFly(value: YForcedBool);</pre>
set forcedCanFly(value: YForcedBool);</pre>
=== Availability ===
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]]
=== Description ===
=== Description ===


Line 17: Line 21:


<pre>get canFly(): boolean;</pre>
<pre>get canFly(): boolean;</pre>
=== Availability ===
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]]





Revision as of 11:16, 12 November 2021

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