Ar Construct

From GECK

A function added by the New Vegas Script Extender.

Description

Added by NVSE V4. Returns an empty array variable of the specified type. To assign the function return to a variable, the let command must be used, rather than 'set'.

Type is specified as one of three strings; 'array', 'map' or 'stringmap'

Syntax

(Array) Ar_Construct type:string

Example

array_var MyList
array_var MyMap
array_var MyStringMap

let MyList := Ar_Construct "array"
let MyMap := Ar_Construct "map"
let MyStringMap := Ar_Construct "stringmap"

See Also

Personal tools