Thread Tools Display Modes
01-23-10, 07:39 PM   #1
Victimize
A Murloc Raider
Join Date: Dec 2009
Posts: 5
ractionbarstyler help please!

I'm using Alza UI and and I play 2 characters, a rogue and a druid. On my rogue I don't want the stance bar to show up, but I want it to on the druid? How do I make this happen? Here's the setting.lua:

Code:
--[[ Info about settings table:
  a: Anchor Point and Relative point of frame
  x: X offset in pixels
  y: Y offset in pixels
  mouseover: 1 means bar will be shown only when mouse is over it
  scale: scale multiplier, i.e. 1 = 100%
  disable: 1 mean bar will be hidden all the time ]]
  
rActionBarStyler_Settings = {
    ["BonusBar"]   = {a = "BOTTOM", x = 0,  y = 25, scale = 0.8}, -- ActionBar1, VehicleBar, changes with stances etc
    ["Bar2"]       = {a = "BOTTOM", x = 0,  y = 59,  mouseover = 0, scale = 0.8, disable = 0},
    ["Bar3"]       = {a = "BOTTOM", x = 0,  y = 93, mouseover = 0, scale = 0.8, disable = 0},
    ["Right"]      = {a = "RIGHT",  x = -35, y = 0, mouseover = 0, scale = 0.8, disable = 0},
    ["Left"]       = {a = "RIGHT",  x = -1, y = 0,   mouseover = 0, scale = 0.8, disable = 0},
    ["Pet"]        = {a = "BOTTOM", x = 0,  y = 130, mouseover = 0, scale = 0.8, disable = 0},
    ["Shapeshift"] = {a = "BOTTOM", x = 0,  y = 160, mouseover = 0, scale = 0.8, disable = 1},
  }
  Reply With Quote
01-23-10, 09:00 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Change:
disable = 1

To:
disable = select(2, UnitClass("player")) == "DRUID" and 0 or 1
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » ractionbarstyler help please!


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