Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-17-10, 06:10 AM   #1
Crober
A Murloc Raider
 
Crober's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 9
savedVariable help

I am trying to get the alpha and scale to load from my savedVariable and can't figure it out. They are included in the table with others that are working just fine.

Code is here :http://lua.pastey.net/143016-mm9g

The lines I'm having confusion on are 93 & 109.

I get no errors the way it's written right now, but the scale and alpha are reset to 1 on reload/log.

I have tried alphaSlider:SetValue(HPIDB.alpha) and get the "attempt to index global 'HPIDB' (a nil value)" error.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » savedVariable help


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