Thread Tools Display Modes
Prev Previous Post   Next Post Next
08/08/19, 03:13 AM   #1
cOOLsp0T
 
cOOLsp0T's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2019
Posts: 17
When does the Game a frame forward?

Hi Folks,

At the moment I try to build an automated action for looting. It does as follows.


On Addon Load -> Register LootInit for EVENT_LOOT_UPDATED

When Player Loots:
Unregister for EVENT_LOOT_UPDATED -> (When lootitem = false) Register SetGlobalData for EVENT_INVENTORY_SINGLE_SLOT_UPDATE
LootItembyID <- because we would fire on the Inventory Single Slot Update Event
CallBack ItemSort <- and here starts the Problem. The Game hasnt forwarded to the next frame and the data is given empty.

I also tried to build up a chain with Register Handshakes without using a for loop, but this also dont work, because I allways have to wait till the game has made the frame before I get the needed dataset.

How can I get sure, that the game has processed a frame, before I do my next action or is there a trick for parallelizing this?
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » When does the Game a frame forward?


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