GetGoldValue - Form

Revision as of 15:55, 4 February 2016 by imported>Terra Nova2 (Returns only the base value.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

SyntaxEdit

int Function GetGoldValue() native

ParametersEdit

None

Return ValueEdit

The gold value of this form, or -1 if it doesn't have a value.

ExamplesEdit

if jewel.GetGoldValue() > 100
  Debug.Trace("Wow, that's one pricy gem!")
endIf

NotesEdit

  • This doesn't return the Gold value of enchanted items. Will return the base value instead.

See AlsoEdit