Custom Popup?

Vivala

Chieftain
Joined
Jan 2, 2017
Messages
2
I'm working on a mod that requires a popup whenever a civ settles/captures a city for their UA. This is the first time I've worked with UI elements, and I've figured out how to create the text box and buttons, but I can't figure out how to make it into a popup. Basically, I can only make it show up as soon as you start a game, and I'm not sure how to only call it when that civ founds a city. Can anyone help me out? Thanks!
 
Whoward has some great UI tutorials! (They're linked in his signature)
They go really in depth and come with modular examples!

I'm pretty sure it's covered in the first tutorial.
 
I didn't find what I was looking for in the tutorial itself, but I managed to figure it out through the included files. Thanks!
 
Back
Top Bottom