Background for Fallout 4
Member of the Form script
intfunctionGetGoldValue()Native

Description

Wiki Description

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.

Documentation Comment

Obtains this form's value in gold. Will return -1 if the form doesn't have any value (like a quest)


Caveats


Examples

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

Auto-Generated Example

int returnedValue = myForm__toCallFunctionOn.GetGoldValue()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.