Tile - Variable member – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " (\=+)([a-zA-Z0-9][^ ]+[a-zA-Z0-9])(\=+) " to " $1 $2 $3 ")
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:


= Notes =
= Notes =
*'''Member''' variables of [[Ylands Game logic - Global storage|'''Global Storage''']] are considered '''global''' variables within the scope of whole game script.
*'''Member''' variables of [[Ylands:Game logic - Global storage|'''Global Storage''']] are considered '''global''' variables within the scope of whole game script.
*'''Member''' variables of [[Ylands Game logic - Entity storage|'''Entity Storage''']] are considered '''member''' variables of [[Ylands Tile - Storage owner literal|'''Storage Owner''']].
*'''Member''' variables of [[Ylands:Game logic - Entity storage|'''Entity Storage''']] are considered '''member''' variables of [[Ylands:Tile - Storage owner literal|'''Storage Owner''']].
*See also: [[Ylands Visual scripting introduction|'''Introduction to Visual scripting''']], [[Ylands Script conventions|'''Conventions''']].
*See also: [[Ylands:Visual scripting introduction|'''Introduction to Visual scripting''']], [[Ylands:Script conventions|'''Conventions''']].




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


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]
[[Category: Ylands 0.10]]

Latest revision as of 14:24, 24 November 2023

Ylands Tile - Variable member.png

  • Member variable is exclusive variable local to currently edited game object (entity or game logic).
  • Member variables can be accessed from everywhere within the current object script.
  • All member variables of current object are listed in Variables - This pallet.
  • New variables are added by clicking Create new variable at the top of the variable pallet.
  • Default value of a variable is 0.

Notes