Tile - This Group – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Null_literal.png]]
[[Image:Ylands_Tile_-_This_literal.png]]
*Returrn reference to teh script owner.
*Returns '''reference''' of the script '''owner'''.
 
 
*It is possible to '''empty''' an object ([[Ylands Tile category - Variables|'''variable''']]) by '''setting''' it to '''null'''.
*It is possible to use [[Ylands Tile - Conditional Statement|'''if statement''']] to '''test''' whenever an '''object''' is null.
*Calling '''instructions''' on '''null''' '''object''' will cause an '''error'''.
 
=Examples=
<gallery>
Image:Ylands_Tile_-_Null_literal_test.png|Null test
Image:Ylands_Tile_-_Null_literal_error.png|Wrong use
</gallery>




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

Revision as of 17:43, 20 December 2018

Ylands Tile - This literal.png

  • Returns reference of the script owner.



Template:Ylands scripting navbox