Tile - Return Value List – 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_-_Return.png]]
*'''Return''' instruction will '''stop''' currently executed [[Ylands Tile - Custom instruction|'''custom instruction''']].
*If '''return''' contains a '''value''', it will return this value as expression '''result'''.
=Notes=
*Return with value used in statement will terminate instruction as normal return.
*Return without value used in expression will return null.
*See also: [[Ylands Tile - Custom instruction|'''Custom Instruction''']].




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

Revision as of 15:01, 13 December 2018

Ylands Tile - Return.png

  • Return instruction will stop currently executed custom instruction.
  • If return contains a value, it will return this value as expression result.

Notes

  • Return with value used in statement will terminate instruction as normal return.
  • Return without value used in expression will return null.
  • See also: Custom Instruction.



Template:Ylands scripting navbox