WoWInterface - View Single Post - Convert ItemID's to Item Details
View Single Post
07-12-19, 06:19 PM   #5
A Wyrmkin Dreamwalker
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 51
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.

  Reply With Quote