View Single Post
06-03-16, 01:01 PM   #27
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Originally Posted by zork View Post
semlar I am not even sure what may have caused it. Maybe I even had a bug in my code. It is working just fine atm.
Could be, but what you were describing sounded like the same exact issue I ran into with GetShapeShiftForm not returning accurate information when the state driver was executed because the events weren't guaranteed to fire in a specific order.

I'm just wondering if there's any reason to not use static values for the bar offsets.

Bonus bars are 7-10, "possess bar" is 11, "vehicle bar" is 12, "temp shapeshift bar" is 13, "override bar" is 14.

Are these values even capable of changing? They're just mapping the buttons to action slots (index-1) * 12 + button number.