Table_GetRowIndex

Prototype: GemRB.GetTableRowIndex (TableIndex, RowName)

Metaclass Prototype: GetRowIndex (RowName)

Description: Returns the index of a row in a 2DA Table.

Parameters:

  • TableIndex - returned by a previous LoadTable command.
  • RowName - a row label

Return value: numeric, -1 if row doesn’t exist

See also: LoadTable


Back to function index, GUIScript introduction.