Quantcast
ESOUI - View Single Post - Is there Event for jump request?
View Single Post
07/08/20, 07:03 PM   #5
GhostwheelAI
 
GhostwheelAI's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2020
Posts: 10
Originally Posted by Baertram View Post
You can't as the function is local!
local function OnTravelToLeaderPromptReceived()
And the local function OnGroupMemberJoined() as well in line 790
OK. Decline callback looks like this

Code:
local function DeclineCallback()
      self:RemoveFromIncomingQueue(INTERACT_TYPE_TRAVEL_TO_LEADER)
end
and ZO_PlayerToPlayer:RemoveFromIncomingQueue appears to be global...

How do you think, can I do smth like that...

Register EVENT_GROUP_MEMBER_JOINED

Set callback that waits for example 100 ms (because it says in comments (line 737) that "-- The location of the group leader may not be available immediately", so prompt doesn't appear immediately too.

And then call ZO_PlayerToPlayer:RemoveFromIncomingQueue(INTERACT_TYPE_TRAVEL_TO_LEADER)?

Last edited by GhostwheelAI : 07/08/20 at 08:07 PM.
  Reply With Quote