Launching a popup during autoplay?

Leoreth

Blue Period
Moderator
Joined
Aug 23, 2009
Messages
37,060
Location
東京藝術大学
I am having issues with getting a popup to display during autoplay.

In my mod, the game often immediately starts in autoplay. Unfortunately, this suppresses the dawn of man popup, which I would like to display while autoplay is progressing. The popup shows up shows up once autoplay is complete.

I think this is popups do not get processed while the corresponding player is not alive, which is the case when you are in autoplay. Is there a good way around this? Any other way to launch the popup?

I tried to launch the popup right before enabling autoplay, but that does not seem to be sufficient, presumably because autoplay is already active when the popup would be shown. I cannot delay starting the autoplay because then the game ends due to having no units.
 
Yeah, that turned out to be ugly. I realised though that there really is no reason to show the screen through a popup, and that I can just show it directly. That bypasses the whole problem.
 
Top Bottom