Originally Posted by Nimhfree
To get rid of the bonus objectives you can use the following code:
Code:
hooksecurefunc("WorldMap_UpdateQuestBonusObjectives", function()
local mapAreaID = GetCurrentMapAreaID()
local taskInfo = C_TaskQuest.GetQuestsForPlayerByMapID(mapAreaID)
local numTaskPOIs = 0;
if(taskInfo ~= nil) then
numTaskPOIs = #taskInfo;
end
local taskIconCount = 1;
if ( numTaskPOIs > 0 ) then
for _, info in next, taskInfo do
local taskPOIName = "WorldMapFrameTaskPOI"..taskIconCount;
local taskPOI = _G[taskPOIName];
taskPOI:Hide();
taskIconCount = taskIconCount + 1;
end
end
end)
To get rid of the encounter journal bosses you can set the CVar in your Config.wtf file like:
SET showBosses "1"
|
Yes! Bonus Objectives are gone!
Was there a similar fix for the quest icons? (You can see them in the top left on the first screenshot) Also, should I combine the two codes or is it okay to simply place the Bonus Objectives section after the first section?
As for boss icons, I did some testing and I believe 0 is the setting to hide them. However, it seems to automatically become enabled upon entering a dungeon. I could even see the icons for world bosses on outside maps, when I was in a dungeon. When I was outside the dungeon, they were hidden as intended.
Even when logging out from a dungeon, the CVar still has a 0. So either it resets it to 0 upon logout, or dungeons have a different workaround while you're in them.
Edit: Upon further tries it doesn't seem to be bound by CVar 0 or 1. On both settings I've had the icons come and go, so there must be other factors in play.