Quantcast
(press button to loot) What EVENT is this? - ESOUI
Thread Tools Display Modes
08/22/20, 12:13 PM   #1
muenchhausen
 
muenchhausen's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2018
Posts: 13
(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
__________________
I haven't expected some kind of Spanish Inquisition...
NOBODY expects the Spanish Inquisition!
My Addons: HowLong | Clarity (revived)

Last edited by muenchhausen : 08/22/20 at 12:19 PM.
  Reply With Quote
08/22/20, 12:25 PM   #2
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 552
The StartInteraction function is private (not usable by addons) exact for this reason.
__________________
@votan73 (EU - megaserver)
  Reply With Quote
08/22/20, 12:29 PM   #3
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,480
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.
__________________
https://www.imperialtradingcompany.eu/ - My Addons - The Vault (Early updates and experimental projects) - My patreon - My blog
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.
  Reply With Quote
08/23/20, 10:51 AM   #4
muenchhausen
 
muenchhausen's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2018
Posts: 13
Thank you very much for the fast answers!
That explains why no one else hasn't included this function yet.
__________________
I haven't expected some kind of Spanish Inquisition...
NOBODY expects the Spanish Inquisition!
My Addons: HowLong | Clarity (revived)
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » (press button to loot) What EVENT is this?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off