Quantcast
WoWInterface - View Single Post - How can i hook complex Blizz functions, like: Module:FuncName(arguments)?
View Single Post
10-03-15, 07:46 PM   #2
kurapica.igas
A Flamescale Wyrmkin
Join Date: Aug 2011
Posts: 129
SetHeader method is only used when Blizzard_ObjectiveTracker add-on is loaded, your function won't be call because your add-on can't be loaded before the Blizzard_ObjectiveTracker.

For secure, you should use hooksecurefunc. Maybe you can test on

Lua Code:
  1. DEFAULT_OBJECTIVE_TRACKER_MODULE:AddObjective
  Reply With Quote