Difference between revisions of "SetGoldValue - Form"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(added required f4se version)
(→‎Examples: Added example)
Tags: Mobile web edit Mobile edit
 
Line 18: Line 18:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
; Placeholder Code.
MyWeapon.SetGoldValue(MyWeapon.GetGoldValue() * 2)
Debug.Trace("We just doubled the value of our weapon!")
</source>
</source>



Latest revision as of 05:49, 26 May 2024

This article has been flagged as incomplete.
Please help improve the wiki by learning how to contribute.

F4SE Member of: Form Script
Requires F4SE version 0.3.1 or higher.

Placeholder Description.

Syntax[edit | edit source]

Function SetGoldValue(int aiValue) Native

Parameters[edit | edit source]

  • aiValue: Placeholder Description.

Return Value[edit | edit source]

  • None

Examples[edit | edit source]

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

See Also[edit | edit source]