Tile - Define Local Array Variable – 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_local.png]]
*Local '''variable''' is variable '''available''' only within the scope of '''current''' instruction '''sequence'''.
*'''New''' local variable is '''defined''' when placed in '''valid''' instruction '''sequence'''.
*Only '''instructions''' placed '''after''' local variable '''definition''' can access that variable.
*'''Set variable''' instruction is dragged directly from '''context menu''' (right click on definition tile).
=Notes=
*See also: [[Ylands Visual scripting introduction|'''Introduction to Visual scripting''']], [[Ylands Script conventions|'''Conventions''']].




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

Revision as of 17:56, 12 December 2018

Ylands Tile - Variable local.png

  • Local variable is variable available only within the scope of current instruction sequence.
  • New local variable is defined when placed in valid instruction sequence.
  • Only instructions placed after local variable definition can access that variable.
  • Set variable instruction is dragged directly from context menu (right click on definition tile).

Notes



Template:Ylands scripting navbox