Ar Null

From the Fallout3 GECK Wiki
Revision as of 08:11, 27 February 2015 by imported>Odessa (arrays are NOT always cleaned up automatically! source- personal testing)
(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

Returns a constant, an invalid array. This is used to clear up array variables when they are no longer necessary, such as when a script terminates.

As of NVSE 4.6.2, arrays defined in UDF scripts are cleaned up automatically, but those held in other scripts are not. Therefore it is essential to use Ar_Null to clear any local array variables when other scripts terminate to avoid save game bloat.

Syntax

[help]
(NullArray:array) Ar_Null

Example

let SomeArray := Ar_Null

See Also