GetGoldValue - Form
Revision as of 15:26, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
Member of: Form Script
Returns the value of this form in gold. If called on a form that doesn't have a value (like a quest), it will return -1.
Syntax
int Function GetGoldValue() native
Parameters
None
Return Value
The gold value of this form, or -1 if it doesn't have a value.
Examples
if jewel.GetGoldValue() > 100
Debug.Trace("Wow, that's one pricy gem!")
endIf