ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   (press button to loot) What EVENT is this? (https://www.esoui.com/forums/showthread.php?t=9352)

muenchhausen 08/22/20 12:13 PM

(press button to loot) What EVENT is this?
 


Hi everyone!
I still haven't progressed with my LUA-skills, so I humbly ask for assistance, how to trigger a function at this event.
EVENT_RETICLE_HIDDEN_UPDATE only works after interacting.

So far I have only found addons reacting to loot pickup, but I like to pick up all loot automatically, to have a clean UI in combat.
I'm grateful for any hints.

With kind regards and thanks in advance,
Muenchhausen

votan 08/22/20 12:25 PM

The StartInteraction function is private (not usable by addons) exact for this reason.

sirinsidiator 08/22/20 12:29 PM

The reticle does not use any events for this - it simply polls the API once a second. That aside, the function "GameCameraInteractStart" used to pick up items is private, so you cannot automatically loot anything via an addon.

muenchhausen 08/23/20 10:51 AM

Thank you very much for the fast answers!
That explains why no one else hasn't included this function yet. :cool:


All times are GMT -6. The time now is 01:30 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI