WeakAuras

WeakAuras

206M Downloads

Allow aura to be loaded only when actionbar override is (not) active

VTLob opened this issue ยท 0 comments

commented

Is your feature request related to a problem? Please describe.
Given there are auras that should (not) be loaded whenever any override/vehicle bar is shown currently the only option is to use the load condition "Has Vehicle UI" and also evaluate a custom trigger that listens on HasVehicleActionBar() being false. The latter becomes cumbersome and probably inefficient when used for many auras.

Describe the solution you'd like
Depending on how "Has Vehicle UI" is understood by the majority of users either add this check to the already available load condition or have a new one like "Has Override Bar" that checks for both override and vehicle action bar presence.

Additional context

  • HasVehicleActionBar() can be used to check if an action bar override due to being in a vehicle or possessing another unit is active
  • an UPDATE_VEHICLE_ACTIONBAR event is fired when this condition changes