Tile - Define Local Array Variable – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
*'''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''']]. | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{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
- 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
- See also: Introduction to Visual scripting, Conventions.