Background for Skyrim SE
Member of the Form script
voidfunctionSetGoldValue(intvalue)Native

Description

Wiki Description

Sets the value of this form in gold. (This function requires SKSE)

Documentation Comment

sets the gold value of the form


Caveats

CK Wiki - Notes

  • Does not work on forms that do not have value (eg Quests)
  • This function is performed on a base Form, meaning changes will not save.

Parameters

intvalue

CK Wiki Description

the new value of the form


Examples

MyWeapon.SetGoldValue(MyWeapon.GetGoldValue() * 2)
Debug.Trace("We just doubled the value of our weapon!")

Auto-Generated Example

int myInt__value

myForm__toCallFunctionOn.SetGoldValue(myInt__value)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.