Tile - Variable member – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}}")
 
No edit summary
Line 1: Line 1:
[[Image: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=
*'''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''']].
*See aslo: [[Ylands Visual scripting introduction|'''Introduction to Visual scripting''']], [[Ylands Script conventions|'''Conventions''']].




----
----
{{Ylands scripting navbox}}
{{Ylands scripting navbox}}

Revision as of 17:31, 12 December 2018

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



Template:Ylands scripting navbox