Scripting Question - SetItemValue

Post » Sun Nov 18, 2012 11:12 am

I wanted to ask more experienced scripters how they would go about changing an item's (monetary) value in a script.

In Oblivion it was a simple "SetItemValue 0" but I can find no such straightforward command for Skyrim.

Much appreciated, to anybody who has any input to share about this.
User avatar
Jenna Fields
 
Posts: 3396
Joined: Mon Dec 11, 2006 11:36 am

Post » Sun Nov 18, 2012 5:36 pm

SKSE's http://www.creationkit.com/SetGoldValue_-_Form. The value edit won't be stored in the user's save, however, so you'll need to maintain the value http://www.creationkit.com/Complete_Example_Scripts#Maintenance.2Fupdate_code_which_runs_once_per_save_load_and_shows_a_message_when_a_mod_is_updated_or_first_loaded.
User avatar
Cedric Pearson
 
Posts: 3487
Joined: Fri Sep 28, 2007 9:39 pm


Return to V - Skyrim