
Prototype:
GemRB.GetSymbolValue(SymbolIndex, StringVal|IntVal)

Description: Returns a field of a IDS Symbol Table.

Parameters:
SymbolIndex - returned by a previous LoadSymbol command.
StringVal   - the name of the symbol to resolve (first column of .ids file).
IntVal      - the value of the symbol to find.

Return value:
numeric, if the symbol's name was given (the value of the symbol)
string, if the value of the symbol was given (the symbol's name)

Example:
        align = GemRB.GetPlayerStat (pc, IE_ALIGNMENT)
        ss = GemRB.LoadSymbol ("ALIGN")
        sym = GemRB.GetSymbolValue (ss, align)
The above example will find the symbolic name of the player's alignment.

See also: LoadSymbol, GetTableValue

