Tile - Array - Remove At – Ylands

From Bohemia Interactive Community
Revision as of 11:17, 12 November 2021 by YlandsClassyBot (talk | contribs) (Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Remove At(Array, Index, Count) == File:Yland...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Remove At(Array, Index, Count)

YlandsTile-198.png

splice(index: number, count: number): void;

Parameters

index

Index of first item to be removed

count

Number of items to be removed

Availability

Client, Server, Custom Controller

Description

Remove selected objects from an array.

Notes

  • This instruction changes the length of the original array.
  • Index numbers always start from 0, e.g: Array of length 3 has indexes 0, 1 and 2.