View Single Post
12/12/17, 02:34 AM   #6
Phinix
 
Phinix's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 186
Add this to the function that fires when the scene pops:

SCENE_MANAGER:ToggleTopLevel(CraftStoreFixed_Blueprint_Window)

From /internalingame/scenes/internalingamescenemanager.lua.html:

Code:
function ZO_InternalIngameSceneManager:ToggleTopLevel(topLevel)
    if(topLevel:IsControlHidden()) then
        self:ShowTopLevel(topLevel)
    else
        self:HideTopLevel(topLevel)
    end
end
That way you can use it to handle showing or hiding. Otherwise you should just be able to use InternalIngameSceneManager:HideTopLevel(CraftStoreFixed_Blueprint_Window) directly (untested).

Last edited by Phinix : 12/12/17 at 02:38 AM.
  Reply With Quote