Mod:Creation Kit/Add - Array

Member of: All Arrays

Adds a new item to the array at the end, expanding it to fit. May add multiple items at once.

Syntax
Function Add(/element type/; akElement, int aiCount = 1) native

Parameters

 * akElement: The element to locate
 * aiCount: The number of items to add
 * Default: 1

Return Value
None

Examples
MyIntArray.Add(4) MyIntArray.Add(1, 4)
 * Add the number 4 to the end of the array
 * Add the number 1 four times into the array