View Single Post
01-01-21, 09:49 AM   #8
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
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