A alemex New Member Joined Oct 20, 2012 Messages 5 Reaction score 0 Nov 24, 2012 #1 Is possible to catch an event when a legendary drops? or retrives the list of legendaries in bag on the OnPulse event?? I need somehow to retrive the legendaries dropped in a run, can someone help me!?
Is possible to catch an event when a legendary drops? or retrives the list of legendaries in bag on the OnPulse event?? I need somehow to retrive the legendaries dropped in a run, can someone help me!?
A alemex New Member Joined Oct 20, 2012 Messages 5 Reaction score 0 Nov 24, 2012 #2 alemex said: Is possible to catch an event when a legendary drops? or retrives the list of legendaries in bag on the OnPulse event?? I need somehow to retrive the legendaries dropped in a run, can someone help me!? Click to expand... after some search i discovered the way to do what i want!! HOW TO: Create a handler to this event: GameEvents.OnItemLooted On the handler function you need to use the eventargs received and verify the flag IsUnique
alemex said: Is possible to catch an event when a legendary drops? or retrives the list of legendaries in bag on the OnPulse event?? I need somehow to retrive the legendaries dropped in a run, can someone help me!? Click to expand... after some search i discovered the way to do what i want!! HOW TO: Create a handler to this event: GameEvents.OnItemLooted On the handler function you need to use the eventargs received and verify the flag IsUnique
L LastCoder New Member Joined Dec 4, 2011 Messages 86 Reaction score 2 Nov 24, 2012 #3 alemex said: after some search i discovered the way to do what i want!! HOW TO: Create a handler to this event: GameEvents.OnItemLooted On the handler function you need to use the eventargs received and verify the flag IsUnique Click to expand... This wouldn't work with GilesTrinity because he overrides the loot method and doesn't send the proper events while doing it.
alemex said: after some search i discovered the way to do what i want!! HOW TO: Create a handler to this event: GameEvents.OnItemLooted On the handler function you need to use the eventargs received and verify the flag IsUnique Click to expand... This wouldn't work with GilesTrinity because he overrides the loot method and doesn't send the proper events while doing it.