Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/25/18, 02:10 PM   #1
Dueydoodah
Join Date: Aug 2015
Posts: 6
Another question about SavedVariables

I don't seem to be able to find any info on saving both Accountwide and character variables. Is it possible to save both? For example, I want to save account wide variables for top and left screen coordinates, but I want to save different user text strings for each character. I'd like them to be saved into the same character construct, such as:

Code:
MySavedVariables =
{
    ["Default"] = 
    {
        ["@Dueydoodah"] = 
        {
            ["$AccountWide"] = 
            {
                ["version"] = 1,
                ["left"] = 8,
                ["top"] = 14,
            },
            ["Aramil Du'ron"] = 
            {
                ["MainSet"] = "Healer weapon set!",
                ["BackupSet"] = "Tank weapon set!",
                ["version"] = 1,
            },
        },
    },
}
  Reply With Quote
 

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » Another question about SavedVariables


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