Ar DeepCopy

From the Fallout3 GECK Wiki
Revision as of 05:22, 12 July 2014 by imported>Odessa (Created page with "{{Function |origin = NVSE |summary = Returns an identical copy of the specified array. Unlike Ar_Copy, if the specified array contains nested arrays then these are also...")
(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 an identical copy of the specified array. Unlike Ar_Copy, if the specified array contains nested arrays then these are also copied (not just referenced) as well, recursively.

Syntax

[help]
(array) Ar_DeepCopy Source:array

Example

array_var aOriginal
array_var aClone

let aClone := Ar_DeepCopy aOriginal

See Also