The corrrect way to exit looting a container?
I am working on my autoloot plugin. I use EndLooting() to exit the loot window, which works fine on monsters or nodes. But using EndLooting() on containers (like Mirri's hidden treasure bag) leaves the container stuck in the loot window, even though the looting process is actually over. I also tried EndInteraction(INTERACTION_LOOT), but again it didn't work.
Can anyone tell me the correct way to exit a container loot window? |
https://www.esoui.com/forums/showthr...highlight=Loot
Check this thread at the end the user told he solved it by hiding the scene again. Maybe contact him or check the addon he mentioned there hiw it was done. Should be something like SceneName:Hide() Where sceneName would be something like KEYBOARD_LOOT_SCENE or similar. My posts above the last post show you some links to the code where you should find the scene name. Else check with the addon merTorchbug e. G. by using the slash command /tbsc to show the SCENE_MANAGER and then see which scene is shown as currentScene |
Quote:
Still, I'm actively contacting these users for help. Many thanks for your information. |
Hi,
I solved it by using something like this: Code:
local n = SCENE_MANAGER:GetCurrentScene().name 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 |
Quote:
Code:
SCENE_MANAGER:Toggle("inventory") |
All times are GMT -6. The time now is 04:34 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI