1,482
edits
imported>Fg109 mNo edit summary |
m (Convert source tags to syntaxhighlight) |
||
| Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Function SetGoldValue(int value) native | Function SetGoldValue(int value) native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
< | <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!") | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||