Originally Posted by lightspark
Please, take a look at the code block I posted. I used your code, but fixed layers.
|
My bad haha...
I only read your comment, not code
Originally Posted by lightspark
I'd either put your texture on a lower layer: ARTWORK, or move your text to an higher layer: HIGHLIGHT
|
Originally Posted by lightspark
Also, you can assign layers and sublevels by passing them to CreateTexture and CreateFontString. I dunno why you're using SetDrawLayer.
|
When I checked an API on wowprogramming and wowpedia, CreateFontString didn't seem to have a sublevel argument
So I chose to use SetDrawLayer instead of setting layer and sublevel argument on Creation.
But, since I know that fontstrings are always set to have highest sublevel, I don't need to use SetDrawLayer like you said
Thanks for clarification.