SetGoldValue - Form: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Fg109
mNo edit summary
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SetGoldValue(int value) native
Function SetGoldValue(int value) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
MyWeapon.SetGoldValue(MyWeapon.GetGoldValue() * 2)
MyWeapon.SetGoldValue(MyWeapon.GetGoldValue() * 2)
Debug.Trace("We just doubled the value of our weapon!")
Debug.Trace("We just doubled the value of our weapon!")
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu