Back to Home

ESO Lua File v101041

ingame/scriptedworldevents/scriptedworldevents.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
12
13
local function OnEventQuestAdded(eventCode, journalIndex, questName, objectiveName)
end
    -- Handling this event in order to clear a pending invite notification for a scripted event which was initiated by a fellow group member accepting the event quest first while
    -- this player was also in dialog with the quest provider, and to which this player later accepts the event quest personally via dialog. If the player were to
    -- accept the event quest in the quest dialog, there is then no reason for them to still be prompted to accept/decline the same event.
    EVENT_MANAGER:RegisterForEvent("ZO_ScriptedWorldEvent", EVENT_QUEST_ADDED, OnEventQuestAdded)
end