Some way to color stuff from data given by triggers without code
mrbuds opened this issue ยท 3 comments
Is your feature request related to a problem? Please describe.
I wished it was easier to pass a color information from triggers to conditions
Examples of triggers that could benefit it:
- power trigger: PowerBarColor https://github.com/tomrus88/BlizzardInterfaceCode/blob/d101b7800a0ed05eeaa04b3b7c986fa157c64075/Interface/FrameXML/UnitFrame.lua#L3
- health trigger: C_ClassColor.GetClassColor(className)
- aura trigger: COMBATLOG_DEFAULT_COLORS.schoolColoring
Condition Examples:
- text color
- border color
- glow color
- bar color
- etc...
It could also add a text "tag" like %color and could use a closing tag like %endColor
That would solve the issue #962 is trying to solve and more
This is a duplicate of #962, no?
It solve it but is less specific and solve more use case, so .. maybe, depend how you see it
It was once discussed that adding a "colour" dynamic info to the core infos could solve things like this as well as being useful in all sorts of ways.
Though this discussion was a long time ago and now the movement seems to be away from dynamic info and more to properties. For example, people want to be able to change icons like they're a simple property, from Conditions, and not be forced to use whatever is supplied by dynamic info.