GetGoldValue - Form
From Creation Kit
Revision as of 2016-02-04T14:55:31 by Terra Nova2 (Returns only the base value.)
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.
int Function GetGoldValue() native
The gold value of this form, or -1 if it doesn't have a value.
if jewel.GetGoldValue() > 100 Debug.Trace("Wow, that's one pricy gem!") endIf
- This doesn't return the Gold value of enchanted items. Will return the base value instead.