Thread Tools Display Modes
Prev Previous Post   Next Post Next
11/24/15, 07:34 PM   #1
cyxui
AddOn Author - Click to view addons
Join Date: Nov 2015
Posts: 70
upgrade saved variable

I wonder if it is possible to upgrade saved variable. For example I had a version 1 savedvar, then later I decide to make some changes and the newer one is version 2. I want to be able to retrieve the version 1 var, update it and save it as version 2. In the above scenario if I call ZO_SavedVars:NewAccountWide with version = 2 directly it will wipe the version 1 var. If I call ZO_SavedVars:NewAccountWide with version = 1 then the version 2 vars will be wiped. Any one got a good way to solve this?
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » upgrade saved variable


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off