ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_TableContains

Checks the first layer of a table and looks for a specified Object, returns true if found.

On this page
Util_TableContains(targetTable, obj)

Description

Objects can be anything (Player, SGroup, Int, Table, String, etc.)

Parameters

  • targetTableTablerequired
  • objObjectrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/scarutil.scar