Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loot List
#1
I'm trying to automate rolling for items in Eden. 

Looking at the dev addon, I can see I can call Inventory:GetLootList() to access a table that contains things that can be rolled on. How do I call need/greed/pass from there?

In order to run my code, I have to listen for an event. What events are available to hook onto?
Reply
#2
To interact with the loot window:

Code:
local needGreed = GetControl("NeedGreed")
if not needGreed then return end
needGreed:Action("Pass") -- Or whatever you want to call, "Greed", "Need"

As for modules, the examples on the forum seem to indicate using

Code:
RegisterEventHandler("Gameloop.Update", function() end, "UniqueHandlerId")
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products