Ar Construct

From the Fallout3 GECK Wiki
Revision as of 15:06, 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 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

[help]
(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