Tile - YCharacter - Get Forced Immunity – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "[[Image:{{PAGENAME}}.png]] *Allows to '''get''' / '''set''' character '''immunity''' type Ylands Tile - Force attribute type literal|...")
 
No edit summary
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:{{PAGENAME}}.png]]
<!---
*Allows to '''get''' / '''set''' character [[Ylands Tile - Immunity type literal|'''immunity''']] type [[Ylands Tile - Force attribute type literal|'''override''']].
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*'''Force''' true / false will '''override''' current '''immunity''' state.
-->
*'''Default''' will '''return''' the state '''before''' this instruction was '''used'''. So if player had immunity from potion, he will retain it.
== Get Forced Immunity(Character, Immunity) ==
 
[[File:YlandsTile-484.png]]
 
<pre>getForcedImmunity(immunity: YImmunityType): YForcedBool;</pre>
=== Parameters ===
 
==== immunity ====
 
Immunity type
 
=== Returns ===
 
'''YForcedBool'''
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]]
 
=== Description ===
 
Returns whether selected '''immunity''' '''override''' is active onto character .




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


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]

Revision as of 12:16, 12 November 2021