Tile - Define Local Array Variable – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (grammar)
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(8 intermediate revisions by 3 users not shown)
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.
*'''Set variable''' instruction is dragged directly from '''context menu''' (right click on definition tile).
*'''Set variable''' instruction is dragged directly from '''context menu''' (right click on definition tile).


=Notes=
= Notes =
*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''']].




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}
 
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Latest revision as of 15:24, 24 November 2023