|Go to Page...|
|Thread Tools||Display Modes|
|04-30-14, 01:01 AM||#1|
Join Date: Apr 2014
Looted item info
I'm new to Add on dev.
Is there a way to determine which items the player looted and from what unit? As a personal project I am trying to make an add on that keeps track of all the units killed by the player and the items obtained from them. Sort of like a loot table generator.
I got the killing part under control.
For the looting part I'm stuck. Currently I'm thinking of maintaining a list of all items in the inventory and firing an event when the list changes but this is a horrible last resort which will not correctly match the looted unit to the item.
I was hoping for the existence of some Event.Item.loot or something. I can't find an easy solution on the wiki. If there is no easy solution then I just need someone to tell me "sorry there is no easy solution". Any help is appreciated
|Riftui » Developer Discussions » General Authoring Discussion » Looted item info|