I just had someone report a bug on rActionBarStyler telling that on the Nefarian HC encounter in Blackwing Descent there is a spell called Dominon. If you are affected by that spell you will get the override bar.
My problem is:
I'm having a state driver on the override bar to only show on [vehicleui] but I think that does not reflect this condition in the ActionButtonController:
Lua Code:
-- If we have a skinned vehicle bar or skinned override bar, display the OverrideActionBar
if ((HasVehicleActionBar() and UnitVehicleSkin("player") and UnitVehicleSkin("player") ~= "")
or (HasOverrideActionBar() and GetOverrideBarSkin() and GetOverrideBarSkin() ~= "")) then
-- For now, a vehicle has precedence over override bars (hopefully designers make it so these never conflict)
if (HasVehicleActionBar()) then
OverrideActionBar_Setup(UnitVehicleSkin("player"), GetVehicleBarIndex());
else
OverrideActionBar_Setup(GetOverrideBarSkin(), GetOverrideBarIndex());
end
...
end
Actually I thought [vehicleui] would catch all of those events but since Dominon is just using an OverrideBarSkin and is no VehicleBar itself it seems not to get triggered.
Now I'm curious. What would be the macro condition to spawn the OverrideBar if you have just an OverrideBarSkin.
I know we have [possessbar] aswell. But I cannot show the overridebar everytime someone is possessed because that would be wrong aswell. Because normally the possessbuttons come up in the default actionbar not in the OverrideBar.
*EDIT*
Solution posted below.