[Feature Request] Custom Lua trigger for Indicators
oddiz opened this issue ยท 0 comments
Would be a nice option to have if we can trigger the indicator with custom lua instead of it working with spell IDs only.
For a simple implementation; it would be as simple as showing the indicator if custom function returns true and hiding it if it returns anything else. Rest of the display options can stay the same based on the indicator type.
For determining the events that function fires it could be a tick box selecting from
- Unit spell cast
- Unit aura change (buff/debuff/procs)
- Hp/mana/power change
Or another and better option would be; selecting from the events from other active indicators. So our custom lua indicator trigger would fire when selected indicators change state, and even get information from those indicators based on the type. (could be role info, name info, aura info, targeted spell info, etc)
Also if you were to add this feature, I'd happy to discuss what other information could be available for each party member to the function or in indicator_env.