View Single Post
Old 07/03/08, 11:13 PM   #334 (permalink)
livefastdiarrhea
Glass Joe
 
Human Mage
 
Kalecgos
Originally Posted by Aximous View Post
I was thinking about some new features for my ui and a thing that hit my mind, is there a way to color the icons we get with dogtags if some conditions are met? For example range check with an icons which is normally colored when in a given range and colored red if outside of the given range.
No, color only works with text right now, but what you could do is change the alpha... Here's an example of a tag I threw together and tested:

[if (MaxRange < 30) then Icon("Interface\Icons\Spell_Holy_BlessedRecovery", size=40) Alpha(1) else (Icon("Interface\Icons\Spell_Holy_BlessedRecovery", size=40) Alpha(0.5)) end]
 
User is offline.
Reply With Quote