Ar List

From the Fallout3 GECK Wiki
Revision as of 14:26, 25 May 2014 by imported>Odessa (Created Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Added by NVSE V4. Returns a list array variable with the specified elements as its entries in the same order. Up to 20 elements may specified during creation, although more can be added using alternative functions on subsequent lines.

Array elements may be of any type, and in any combination. To assign the function return to a variable, the let command must be used, rather than 'set'.

Syntax

[help]
(Array) Ar_List entry0:multi entry1:multi ...entry19:multi

Example

array_var aBeatles

let aBeatles := Ar_List JohnREF, PaulREF, GeorgeREF, RingoREF

See Also