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

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: 577
The StartInteraction function is private (not usable by addons) exact for this reason.
  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,566
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.
  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.
  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