View Single Post
11-25-09, 05:07 PM   #3
Shanyn
A Deviate Faerie Dragon
Join Date: Nov 2009
Posts: 16
Thanks! Sadly, no. There is no such variable as playercolor in Quartz.

Here is how the player cast bar is colored in Quartz's Player.lua:
Code:
castBar:SetStatusBarColor(unpack(Quartz.db.profile.castingcolor))
I'm absolutely certain that the variable I want is called castingcolor (i.e. not playercolor), but so far no variation of db.profile.castingcolor = lagVertexColor has worked at all. My only guess is because castingcolor is NOT defined under any namespace in the SavedVariables file, therefore none of the local db = Quartz:AcquireDBNamespace("StuffGoesHere") gives me the castingcolor variable to play with. This is what I'm looking for help on. ^^;

Edit: To show what I mean about castingcolor not being defined under a namespace, here's a very abbreviated sampling of the SavedVariables--
Code:
QuartzDB = {
   ["namespaces"] = {
      ["Latency"] = {
         ["profiles"] = {
            ["profilename"] = {
               lagcolor = some numbers
            }
         }
      }
   }
   ["profiles"] = {
      ["profilename"] = {
         ["castingcolor"] = some numbers
      }
   }
}

Last edited by Shanyn : 11-25-09 at 05:11 PM.
  Reply With Quote