Tile - Array - Slice – 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_slice.png]]
*This instruction will '''slice''' selected '''elements''' from an array and return them as '''new array''' object.
*This instruction selects the elements starting at the given start argument, and ends at, but does not include, the given end argument.
*This instruction does not change the length of original array
=Notes=
*Currently the instruction is missing parameters, so it servers basically as Copy Array function




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

Revision as of 18:25, 3 December 2018

Editor-VS tile-array slice.png

  • This instruction will slice selected elements from an array and return them as new array object.
  • This instruction selects the elements starting at the given start argument, and ends at, but does not include, the given end argument.
  • This instruction does not change the length of original array

Notes

  • Currently the instruction is missing parameters, so it servers basically as Copy Array function



Template:Ylands scripting navbox