View Single Post
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