Quote:
|
yea i did that... if i put GUIPartyFrame. infront of it it says its not a global... if i remove it i load bug free but the events are not actually registerd
|
Quote:
Where do you try to do that? Because GUIPartyFrame is only visible in createPartyEventFrame() in your code snipplet. Also, the returned value of createPartyEventFrame() seems to go nowhere. |
how would i make the GUIPartyFrame vis everywhere? because im trying to use those functions inside of another function...
|
|
Quote:
local addonName, addonData = ... addonData.GUIPartyFrame = CreateFrame(...) etc Then all files in the TOC after this file with that first line added at the top of each file will have access to that variable. |
All times are GMT -6. The time now is 10:03 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI