Thread Tools Display Modes
12/27/17, 11:11 AM   #1
Jarth
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 2
Regarding: GetCollectibleCooldownAndDuration

Hello outthere.

I am wondering if there is a bug with this function, or if i am using it wrong.
When i call GetCollectibleCooldownAndDuration with a specific collectionId, i don't initially get the cooldown information for that specific collection ID, but rather the last used collection ID.
  1. Before using the collection-item, i call the method GetCollectibleCooldownAndDuration to get a information for the specific collection ID (duration and remaining time).
    At this point i get the information for the last called collection item, and would have expected duration for this collection ID.
  2. Then i use the collection item, and hook Update up to the event ..COOLDOWN_UPDATED.
    The first 20-30 responses has a coldownRemaining of 0, and a coldownDuration from the previous used collectible item.
  3. Therefor i need to do this check, to ensure the cooldown don't end right away, but the time starts "wrong" as a result.



I hope it makes sense, and thanks in advance.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Regarding: GetCollectibleCooldownAndDuration

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