Back to Home
ESO Function Data v100030
ShowWithFollowup()
Function Aliases
No known aliases for this function.
Global Function Definitions
libraries/zo_scene/zo_scenemanager_leader.lua:206
--
function ZO_SceneManager_Leader:ShowWithFollowup(sceneName, resultCallback)
Local Function Definitions
No known local definitions for this function.
Function Calls
ingame/interactwindow/interactwindow.lua:60
--
SCENE_MANAGER:ShowWithFollowup(sceneName, function(allowed) if allowed then self:FireCallbacks("Shown") else -- If we're trying to bring up the conversation window but we rejected the request, we want to end that conversation -- However, we don't want to end conversations if we were rejected by an already ongoing conversation local isNotAlreadyInConversationInteractScene = true if self.currentInteraction then for _, interactType in ipairs(self.currentInteraction.interactTypes) do if interactType == INTERACTION_CONVERSATION then isNotAlreadyInConversationInteractScene = false break end end end if isNotAlreadyInConversationInteractScene then EndInteraction(INTERACTION_CONVERSATION) end end end)
ingame/scenes/ingamescenemanager.lua:72
--
self:ShowWithFollowup(self.hudSceneName, function(allowed) if allowed then self.manuallyEnteredHUDUIMode = nil EndLooting() SetGameCameraUIMode(false) self:HideTopLevels() DIRECTIONAL_INPUT:Deactivate(self) MAIN_MENU_MANAGER:ForceClearBlockingScenes() self:SetBaseScene(self.hudSceneName) end end)