Difference between revisions of "Ar Construct"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(Created page)
 
imported>Odessa
m (fixed link)
 
Line 24: Line 24:
</pre>
</pre>
==See Also==
==See Also==
*[[Array Variables]]
*[[Array Variable]]
*[[Let]]
*[[Let]]
*[[Foreach]]
*[[Ar_List]]
*[[Ar_List]]
*[[Ar_Map]]
*[[Ar_Map]]

Latest revision as of 14:16, 11 July 2014

< [[::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