Tile - YCharacter - Can Fly – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Character can fly to Ylands:Tile - YCharacter - Can Fly: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
[[ | <!--- | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Can Fly == | |||
[[File:YlandsTile-186-get.png]] | |||
[[File:YlandsTile-186-set.png]] | |||
<pre>get forcedCanFly(): YForcedBool; | |||
set forcedCanFly(value: YForcedBool);</pre> | |||
=== 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> | |||
Line 10: | Line 24: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:52, 8 July 2021
Can Fly
get forcedCanFly(): YForcedBool; set forcedCanFly(value: YForcedBool);
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;