Tile - Array - Index Of – 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:Editor-VS_tile-array_index_of.png]]
*Returns '''position''' (index) of the specified '''object'''
*If the item is present more than once, instruction returns the position of the '''first occurrence'''.
*Returns '''-1''' if the object is '''not found'''.




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

Revision as of 19:00, 3 December 2018

Editor-VS tile-array index of.png

  • Returns position (index) of the specified object
  • If the item is present more than once, instruction returns the position of the first occurrence.
  • Returns -1 if the object is not found.



Template:Ylands scripting navbox