Tile - Array - Set – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}}")
 
No edit summary
Line 1: Line 1:
===Get Array===
[[Image:Editor-VS_tile-array_get.jpeg]]
*Returns a value at given position in the array
*'''Index''' - index of cell in the array
===Set Array===
[[Image:Editor-VS_tile-array_set.jpeg]]
*Set a value to given position in the array
*'''Index''' - index of cell in the array
*'''Value''' - value to be set at index position
===Notes===
*Values in all cells of one array does not have to be of same type (i.e string, vector, number)




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

Revision as of 17:19, 3 December 2018

Get Array

Editor-VS tile-array get.jpeg

  • Returns a value at given position in the array
  • Index - index of cell in the array

Set Array

Editor-VS tile-array set.jpeg

  • Set a value to given position in the array
  • Index - index of cell in the array
  • Value - value to be set at index position

Notes

  • Values in all cells of one array does not have to be of same type (i.e string, vector, number)



Template:Ylands scripting navbox