View Single Post
07-10-14, 08:57 AM   #5
Kygo
A Theradrim Guardian
 
Kygo's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 64
Made a few changes to the code. Got textures for 3 units ( only player, target and pet spawned).
Name is visible aswell, but now the HealthPoints tag wont work. Been trying to fix it on my own with various names and variables changed.

@Rainrider, I did fiddle around with the examples inside "oUF\\elements\\health.lua" , did not make it any better. Only made me more confused and annoyed when it threw a bunch of errors at me.
Right now, I don't get any errors with
Lua Code:
  1. --SB:Tag(HealthPoints, "[dead][curhp]")
  2.     --SB.value = HealthPoints
commented out. But then again, no current HP tag is visible either.

And also, why does the "target" texture show even tho I don't have a target?
Been trying to make a statusbar that "moves" or what to call it when the HP decrease and/or increase, without any progress.

The full code that I'm using right now is here -> http://pastebin.com/VKyVvR5c . It's messy right now with a bunch commented out, but it's only for testing purposes.

Here are a few screenshots with the frames.

http://imgur.com/a/063Rs
  Reply With Quote