ScarDoc

Start typing to search the SCAR reference.

Function
Table

Table_MakeReadOnly

Makes a table read-only. This can be done recursively to also apply to any subtables.

On this page
Table_MakeReadOnly(table, recursive, errorMessage)

Description

Any attempts to write to this table after this has been called will trigger a Fatal SCAR Error. You can customize the error message that will be given with the \"error\" parameter.

Parameters

  • tableTablerequired
  • recursiveBooleanoptional
  • errorMessageStringoptional

Returns

Unknown

Source

Declared in the game's script sources at:

scar/table.scar