View Single Post
07-12-19, 06:19 PM   #5
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 233
Hi doofus

Thanks for your reply.
I can see the concept of your chunks but I am still confused.

I have a list of itemID’s that I loop through, then I use GetItemInfo(currentItemID) which then triggers the ‘GET_ITEM_INFO_RECEIVED’ event.

I can use the event to trigger my one shot function myOneShotFunction(currentItemID) to get all the item details as a table that I can then insert into another table.

How do I pause my loop through function until the event triggers and my one shot function completes?

I know that this is probably an easy concept for those that have a coding background but to say that I am a noob when it comes to coding is a massive understatement.


Cheers
  Reply With Quote