Tile - YCharacter - Get State – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(5 intermediate revisions by 2 users 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.




----
----
{{Ylands scripting navbox}}
{{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