Tile - Define Local Array Variable – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (grammar)
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Variable_local.png]]
[[Image:Ylands_Tile_-_Variable_local.png]]
*A local '''variable''' is only '''available''' within the scope of '''current''' instruction '''sequence'''.
*A local '''variable''' is only '''available''' within the scope of '''one''' instruction '''sequence'''.
*'''New''' local variable is '''defined''' when placed in '''valid''' instruction '''sequence'''.
*'''New''' local variable is '''defined''' when placed in '''valid''' instruction '''sequence'''.
*Only '''instructions''' placed '''after''' local variable '''definition''' can access that variable.
*Only '''instructions''' placed '''after''' local variable '''definition''' can access that variable.

Revision as of 17:01, 12 December 2018

Ylands Tile - Variable local.png

  • A local variable is only available within the scope of one 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