
Prototype: GemRB.GetTableValue(TableIndex, RowIndex/RowString, ColIndex/ColString[, Type])

Metaclass Prototype: GetValue(RowIndex/RowString, ColIndex/ColString[, Type])

Description: Returns a field of a 2DA Table. The row and column indices must be of same type (either string or numeric), the return value will be of the same type.
Type can also be specified.

Parameters: TableIndex - returned by a previous LoadTable command.
RowIndex, ColIndex     - numeric row/column indices
RowString,ColString    - the row/column names as written in the 2da file
Type                   - forces a specific return type
-1 - default
 0 - string
 1 - int
 2 - stat symbol (translated to numeric)

Return value: numeric or string, based on the indices or type

See also: GetSymbolValue, FindTableValue, LoadTable


MD5: 27a07ff76472c9880891f7548e1ca4f4
