SetItemValue

Revision as of 12:31, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))

Syntax:

SetItemValue iSetCapsAmount


Sets the item's base value to the specified amount. Note that while it is called on a reference, it actually changes the value of the reference's base object (and so will change the value of every reference of that base object).

Notes

  • The changes made by this function will be saved to save games.