Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-27-10, 02:22 PM   #21
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 6,007
No, thats working correctly. If I remember rightly table.variable is the same as table[variable] and table["variable"] if dealing with a simple text string.

In your case you could do any of the following and get the same value:

MidgetMapDB.scale
MidgetMapDB["scale"]

or if you store the keyname as a variable
scaleKey = "scale"
MidgetMapDB[scalekey]
__________________


All Level 70 Characters:
Demon Warlock
Resto Druid
Disc Priest
Resto Shaman
Survival Hunter
Augment Evoker
Frost Mage
Vengence Demon Hunter
Rogue ( was subtlety )

Brewmaster Monk (TR)
Prot Paladin (TR)
Blood Death Knight ( TR)

As you can see I am missing a warrior

And .. I don't have all the allied races covered. Time Runner time when it happens again

  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » SetScale


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