Text display area fallback suggestion
Jake13f opened this issue · 6 comments
Suggestion
Would it be possible to remember the nameplates last position when displaying damage numbers of an enemy that dies and show the final numbers in that location instead of the center? That way the numbers still show in relatively the same position instead of snapping to the center. Would add just that much more old style immersion!
If no nameplate is available (in case the target dies or moves off-screen), text display area can fall back to screen center.
Getting nameplate positions isn't possible due to blizzard restricting that part of the API.
We can only attach something to a nameplate or not.
@TechHypno is it possible to get the rendered text’s position instead of the nameplate?
No, as long as any frame up the parent chain ends up being a protected frame, frame:GetPoint() on any child frame will spit out a lua error.
@TechHypno is it possible to get the rendered text’s position instead of the nameplate?
@TechHypno dang yeah feel free to close the issue. It’s really unfortunate unless someone else has some creative idea to still calculate it. Thanks for the update!