FCF_OpenNewWindow doesn't work sometimes

Hi all,

I’m new here and i’m trying to create an addon for Classic that creates chat window and posts some data there. I’m using FCF_OpenNewWindow for that and it work’s 4 out of 5 times or so, but sometimes execution stopped on that line. For some reason i can’t copy/paste code snippets here, so will write only 1 line that cause issues:

chatFrame = FCF_OpenNewWindow(CHAT_FRAME_NAME)

The main issue for me - i can’t understand why it works sometimes.

Also for context - i’m trying to do it on PLAYER_LOGIN event - found it on some forum.

Will appreciate any help, thanks in advance

Try PLAYER_ENTERING_WORLD instead.

Thanks a lot, will try

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.