ScarDoc

Start typing to search the SCAR reference.

Function
Other

Clone

Clones a table allowing for unadulterated use of the data. By default this cloning is done recursively, but that can be changed with the optional recursive flag.

On this page
Clone(data, recursive)

Description

Clones a table allowing for unadulterated use of the data. By default this cloning is done recursively, but that can be changed with the optional recursive flag.

Parameters

  • dataTablerequired
  • recursiveBooleanoptional

Returns

Table

Source

Declared in the game's script sources at:

scar/scarutil.scar