Originally Posted by Askedal
Hi,
I solved it by using something like this:
Code:
local n = SCENE_MANAGER:GetCurrentScene().name
if n == 'hudui' or n == 'interact' or n == 'hud' then
SCENE_MANAGER:Show('hud')
else
SCENE_MANAGER:Show(n)
end
This closes the still open empty loot window.
I have worked on the "smarter autoloot" addon and extended it a loot, I would be happy to share it with you, maybe it already solves your autoloot needs
Best regards
Askedal
|
Thanks a lot! I was starting to learn the concept of the scene and just found a way that could exit the container loot window correctly like below. Unfortunately, it is incompatible with the other looting process that does not start from a container in your bag, cuz they're using EndLooting(). That means my codes need a looting type pre-check.
Code:
SCENE_MANAGER:Toggle("inventory")
But your method works well in any situation without any check, you are awesome! Besides, I also have been working on Agathorn's Smarter AutoLoot's rework for a while
https://www.esoui.com/downloads/info...rAutoLoot.html. It seems that SAL is such a simple addon with great ideas that even without maintenance, its legacy still benefits players so much.