View Single Post
06-06-23, 02:35 PM   #3
LudiusMaximus
A Rage Talon Dragon Guard
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 323
I found a way.

Lua Code:
  1. local converterTooltip = CreateFrame("GameTooltip", "converterTooltip", nil, "GameTooltipTemplate")
  2. local function CovertLine(line)
  3.   converterTooltip:ClearLines()
  4.   converterTooltip:AddLine(line)
  5.   return _G[converterTooltip:GetName().."TextLeft1"]:GetText()
  6. end
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote