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

Metaclass Prototype: GetValue(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. (second column of .ids file)

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


MD5: afa5d5072904c5d0b345e2e08f8e2cbe
