Quantcast WoWInterface - View Single Post - Amber-Shaper Un'sok
View Single Post
11-18-12, 03:31 PM   #13
A Pyroguard Emberseer
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,685
Check this out: (used the macro from Phanx)

The interesting part is the Vehicle Exit Button. My condition to spawn it is:
Why on earth does possessbar fire but neither vehicleui or overridebar.

The problem is that the possessbar changes the default actionbar by default. But not this time. Strange.

That actually fixes the other problem imo. The solution is using this:
RegisterStateDriver(OverrideActionBar, "visibility", "[overridebar][vehicleui][possessbar,@vehicle,exists] show; hide")
Basically adding another condition checking if possessbar is fired but actually a vehicle exists. This actually reminded me ... why not use "@vehicle,exists" in first place? Because there may be vehicles that do not change your bars (like the camel encounter in the 5man dungeon). Crazy stuff...

Going to update rABS in a minute.


What I really don't understand is: If the OverrideBar is used. How can the [overridebar] statement return nil?

That damn feast fest table is using the OverrideBar, thus the [overridebar] condition should in no way be nil. Yet it is.
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

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

Last edited by zork : 11-19-12 at 05:00 AM.
  Reply With Quote