Ar List

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

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