Tile - YCharacter - Get Forced Immunity – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
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) ==


=Notes=
[[File:YlandsTile-484.png]]
*See also: [[Ylands Tile - Character immunity|'''Has Immunity''']]
 
<pre>getForcedImmunity(immunity: YImmunityType): YForcedBool;</pre>
=== Parameters ===
 
==== immunity ====
 
=== Returns ===
 
'''YForcedBool'''
 
=== Description ===
 
Allows to '''get''' character '''immunity''' type '''override'''.




Line 13: Line 25:


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

Revision as of 09:52, 8 July 2021