Quantcast WoWInterface - View Single Post - Problem getting accurate spell descriptions
View Single Post
08-08-19, 05:36 PM   #5
merlecorey
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 9
Originally Posted by LanceDH View Post
This seems to scan just fine
Lua Code:
  1. local i = 1;
  2. local line = _G["GameTooltipTextLeft"..i];
  3. while line do
  4.     print(line:GetText());
  5.     i = i + 1;  
  6.     line = _G["GameTooltipTextLeft"..i];
  7. end
Interesting. This works for the standard UI tooltip, but only if it's visible. If it's not, this doesn't work. Nor does it work for my own tooltip frame.
  Reply With Quote