GetItemInfo() returning lots of nil values
View Single Post
11-09-18, 09:12 AM
A Cobalt Mageweaver
Join Date: Mar 2018
Thanks a lot for this hint!
Let me elaborate if I understand your suggestion of registering GET_ITEM_INFO_RECEIVED correctly:
Function1 calls GetItemInfo() and quits.
Then another Function2 is called whenever the GET_ITEM_INFO_RECEIVED event is triggered, getting as an argument only the itemId of the item for which the info was received.
But how does Function2 then get all the variables of Function1 that need to be altered depending on the received item info? I could only think of Function1 storing these values in a common table with itemId as the key?
View Public Profile
Send a private message to LudiusMaximus
Find More Posts by LudiusMaximus