View Single Post
07-24-12, 03:06 AM   #149
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Wow...that is quite impressive. They listen to us. That is worth at least 3 bananas!

On that topic...remember that the overridebar can be loaded with or without a vehicle ui. Thus you still need to check for vehicleui aswell. (Only if you care about skinning of course)

Check the ActionBarController.lua code for more information on skinned/unskinned actionbars:
https://github.com/Ketho/wow-ui-sour...roller.lua#L94

Maybe a macro condition list is quite helpful here.

true
Lua Code:
  1. [petbattle], [vehicleui], [@vehicle,exists], [pet], [combat], [possessbar], [overridebar], [extrabar]

false
Lua Code:
  1. [nopetbattle], [novehicleui], [@vehicle,noexists], [nopet], [nocombat], [nopossessbar], [nooverridebar], [noextrabar]

Anyone got some other good conditions regarding UI or actionbar states?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 07-24-12 at 03:24 AM.