While questing again I noticed that while doing group world quests I would get the option to search for groups using the group finder. I have no clue why Blizzard limited that option to only group quests. It is an MMO after all.
Is it possible to hook into the shared function of the Blizzard ObjectiveTracker?
https://github.com/tomrus88/Blizzard...hared.lua#L178
The questutils function is this one:
https://github.com/tomrus88/Blizzard...Utils.lua#L111
Do you think it is possible by doing this?
Lua Code:
local function AddGroupFinderButton(block, questID)
if IsQuestComplete(questID) then return end
if block.groupFinderButton and block.hasGroupFinderButton then return end
if not block.hasGroupFinderButton then
block.hasGroupFinderButton = true
end
if not block.groupFinderButton then
block.groupFinderButton = QuestObjectiveFindGroup_AcquireButton(block, questID);
QuestObjectiveSetupBlockButton_AddRightButton(block, block.groupFinderButton, block.module.buttonOffsets.groupFinder);
end
end
hooksecurefunc("QuestObjectiveSetupBlockButton_FindGroup", AddGroupFinderButton)
Using functionality from the quest utils would allow to show it for world quests only if needed.