Quantcast
WoWInterface - View Single Post - Frame temporary properties (frame.86c52870)
View Single Post
01-01-21, 09:49 AM   #8
Platine
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 36
Vrul, and how to get objective text from block of ObjectiveTrackerBlocksFrame?

Code:
hooksecurefunc(QUEST_TRACKER_MODULE, "SetBlockHeader", MY_ObjectiveTracker_Reader);

function MY_ObjectiveTracker_Reader(self, block)
   print(block.id);
   print(block.HeaderText:GetText());
   print(block.lines[1]:GetText());        -- error: index field : nil
   -- I need to change the objective text for this block
end

Last edited by Platine : 01-03-21 at 10:28 AM.
  Reply With Quote