Tile - YCharacter - Get State – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Character status to Ylands:Tile - YCharacter - Get State: 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:Character Status.png]]
<!---
*Allows to '''get''' / '''set''' '''status value''' of target entity.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*See also: [[Ylands Tile - Character status literal|'''Status literal''']]
-->
== Get State(Character, State) ==


=Notes=
[[File:YlandsTile-575.png]]
*Setting e. g. Hunger to 100 makes the character completely fed.
 
*Setting e. g. Freezing to 0 makes the character deadly cold.
<pre>getState(state: YCharacterState): number;</pre>
=== Parameters ===
 
==== state ====
 
Target state
 
=== Returns ===
 
'''number'''
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]]
 
=== Description ===
 
Returns whether selected '''character state''' is active.




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


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

Latest revision as of 14:26, 24 November 2023