BlizzHUDTweaks

BlizzHUDTweaks

155k Downloads

[FEATURE] Macro conditionals

Enf0 opened this issue ยท 3 comments

commented

It would be great if one could specify a custom fade condition using Macro conditionals, similar to how e.g. Bartender4 does. This would allow for more advanced conditions, for example fading my Player frame if I am in party/raid and healer spec, like so:
image

commented

I will look into it. Although I think it needs to be implemented. The macro conditions has no api as far as I know. So each condition would have to be mapped with a function to check the state of that condition.

Might take a lot of work to implement, so I won't make any promises if this will come soon or at all.

commented

Thanks for the quick response!

I am unfamiliar with WoW addon development, but it looks like there is a SecureCmdOptionParse API that can be used to evaluate macro conditionals?

commented

Registering StateDrivers with MacroConditionals could archive this