Target's target name on initial target frame.
So I am attempting to recreate Delsim's UI to the best that memory serves, bar a few things here or there that I've changed to my liking. One thing that I recall was that, on the target frame, there was text that named the target's target.
I've been attempting to find the answer without directly asking, and all I could scrounge up was: Outline() UnitName("targettarget") This produces nothing. Not even an error, just simply nothing. To better illustrate what's happening and what I wish to do, I've provided screenshots. When I place pitbull into config mode, it shows where I've placed the LUA on my target frame to show the target's target: With config mode disabled, and myself targeted, the target's target text doesn't appear, at all: What am I missing to make this work? Edit: Huh, seems I can't link images for some reason. I'm new to these forums, apologies. |
Just doing UnitName("targettarget") doesn't assign the name returned by the function too anything.
Try: Code:
return UnitName("targettarget") Code:
return Name("targettarget") |
It works! Thanks!
|
All times are GMT -6. The time now is 04:49 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI