Creating a popup window?

Anachist

Chieftain
Joined
Oct 29, 2010
Messages
37
I'm trying to create a popup window, similar to natural wonder windows, which would pop up every turn telling the current turn.

I'm beginner with Lua, so please keep it simple ;)

Thanks in Advance!
 
You already get a pop-up at the start of the turn...

If you want to create a pop-up check out how, for example, the demographics work.
 
assets\UI\InGame\Popups\Demographics.lua and Demographics.xml; also, you need to replace the OnPopup function by using an external trigger to queue the pop-up. I added a pop-up in the ImprovedNotifications mod (it's enqueued in DiploCorner) , might be worth checking out for you.
 
Back
Top Bottom