View Single Post
01-30-18, 11:05 PM   #17
Linorox
A Kobold Labourer
Join Date: Jan 2018
Posts: 1
Dropping the arrow without messing with Blizz functions

Originally Posted by Kanegasi View Post
It is not good practice to replace Blizzard functions. Even if it's a minor function called from only one place, it's a good way to cause a taint, no matter what your replacement does.

The simplest way to fix the code in this thread is to use an ID of a quest that doesn't exist instead of 0. According to wowhead, 3 is the next number that brings up nothing.
Originally Posted by semlar View Post
It's built into the minimap. Your only option, aside from physically replacing the arrow texture (which I don't think even works), is to un-track the quest it's pointing to.

Try this..
Lua Code:
  1. SetSuperTrackedQuestID(0)
  2. hooksecurefunc('SetSuperTrackedQuestID', function(questID) if questID ~= 0 then SetSuperTrackedQuestID(0) end end)
I don't understand about programming, but I really want to drop the arrow without messing with blizz functions. So, which quest ID number should be replaced by 3? Is it in the code above? How should the code look like after fixed? If someone could provide the right code, it could be transformed into a addon and solve the problem =D Thanks!
  Reply With Quote