View Single Post
07-22-12, 06:30 AM   #134
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
I think p3lim is right on the actionbar front. I cannot say this for sure because I'm not creating actionbar buttons on my own, I use the default buttons. But I think so.

The possessbar itself is just a two button frame replacing the stancebar. Showing two buttons (current possess spell and leave button). It has nothing to do with the actionbar buttons. The leave button triggers VehicleExit() onClick.

Two answer p3lims question. I think they added it because the posses buttons may not have an actionbutton spell to exit the possess state and the possess may not trigger the override bar (vehicle ui) thus no exit button will spawn.

You can check the bar index by using the new index functions.

Code:
return GetVehicleBarIndex()
return GetOverrideBarIndex()
return GetTempShapeshiftBarIndex()
return GetBonusBarIndex()
return GetActionBarPage()
If GetBonusBarIndex() is returning any value between 7 and 11 ... that would be a problem though.

Vehiclebar = 12
TempShapeshift = 13
OverrideBar = 14
ActionBarPages = 1-6

See: http://www.wowinterface.com/forums/s...83&postcount=6

p.s. Good to know that the petbattle ui state is in. I can now finish my macro conditions for the state driver.
__________________
| 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-22-12 at 06:38 AM.