Difference between revisions of "SetItemValue"

From GECK

 
Line 4: Line 4:
  
 
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).
 
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.
  
  
 
[[Category: Functions]]
 
[[Category: Functions]]
 
[[Category: Object Functions]]
 
[[Category: Object Functions]]

Revision as of 23:22, 27 December 2008

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.
Personal tools