Tile - YCharacter - Can Fly – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Character can fly to Ylands:Tile - YCharacter - Can Fly: New Structure)
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Image:Ylands_Tile_-_Character_can_fly.png]]
<!---
*Allows to '''get''' / '''set''' whenever a character has the '''flying ability'''.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*'''Force''' true / false will '''override''' current flight '''state'''.
-->
*'''Default''' will '''return''' the state '''before''' this instruction was '''used'''. So if player had flight enabled from potion, he will retain it.
== Can Fly ==
 
[[File:YlandsTile-186-get.png]]
 
[[File:YlandsTile-186-set.png]]
 
<pre>get forcedCanFly(): YForcedBool;
set forcedCanFly(value: YForcedBool);</pre>
=== Availability ===
 
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|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 ==
 
<pre>get canFly(): boolean;</pre>
=== Availability ===
 
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]]




----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.11]]

Latest revision as of 14:24, 24 November 2023

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