View Single Post
06/16/17, 09:20 AM   #1
ObserverTim
AddOn Author - Click to view addons
Join Date: Jun 2017
Posts: 2
What did I click?

I am brand spanking new to Lua (but with a good chunk of experience in other coding/scripting languages). I've figured out how to trap an item looted and display it, and now I'm wondering how to detect what item I just clicked on/looted. For example,

If I open a barrel, a simple message like "looted barrel"
For a sack, "looted sack"
For looting a corpse "looted corpse"

Don't worry about that last one if it ups the complexity too much, the main goal is to see what I get from various types of containers. And no, I have no idea what the final goal is yet. I can already read what I looted, now I want to know what I looted it from.

I would appreciate greatly any wisdom I can get. As I said before, I do speak programmer, I just don't speak ESO UI (yet).
  Reply With Quote