1. #1

    Help with this addon please? (color issue if any experienced LUA people can help)

    Hey guys, I've been using this simple addon (http://mods.curse.com/addons/wow/targethealthpercent) to get the target's health percent for a long time now. It still works after today's patch but there is something wrong with the color scheme now (It used to idle with a black background, and if a mob health was at 35% it would go orange, and 20% it would go yellow, etc). Sadly this hasn't been updated in forever, so if anyone who has time can take a quick look at this addon and make it do that, or tell me what to change, it would be greatly appreciated.

  2. #2
    It's probably using SetTexture() to change colors. For RGB values, we now have to use SetColorTexture(). Search through the addon for any instance of SetTexture(#,#,#), such as SetTexture(0.5,0.5,0.5), and replace the name with SetColorTexture. If you find SetTextures that have text, such as a file path, leave those alone.
    Originally Posted by Zarhym (Blue Tracker)
    this thread is a waste of internet

  3. #3
    thank you so much, I will give it a shot.

    edit: It worked, thanks again!
    Last edited by Dawnrage; 2016-07-20 at 07:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •