Power Auras Classic 5.0
View Single Post
10-06-12, 08:45 PM
A Cliff Giant
Join Date: Nov 2006
Detecting unit in a vehicle. Some mods do this wrong. The point of this option is that if you're controlling a vehicle then you don't have control of your normal character abilities, which means you want to hide certain auras that work off your abilities.
So in playerstate.lua line 88:
local UnitInVehicle = UnitInVehicle;
I changed this to
local UnitInVehicle = UnitHasVehicleUI;
The problem with UnitInVehicle is in some boss fights, my stuff disappears when I don't have a vehicle UI.
Like for example the gate of the setting sun when you do raigonn and do weak spot. You're in a vehicle but don't have vehicle UI. So UnitInVehicle returns true and your stuff disappears when you don't want it.
Last edited by galvin : 10-06-12 at
View Public Profile
Send a private message to galvin
Find More Posts by galvin