- Found in:
- SKSE
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)