jdog5000
Revolutionary
Here's what I'm trying to do:
Currently in my Revolution mod, popups offering players choices in how to handle a rebellious city are launched at the beginning of a players turn. Depending on the situation and player's response, rebel units may spawn. Currently, since this all happens at the beginning of the turn, the motherland gets the first strike ... the rebels spawn and you get to attack them first. I'd like to change this so that it all happens at the end of the player's turn, that way the rebels get the first strike.
The trouble is, when I launch a popup at the end of the players turn, the game doesn't wait for the players response before continuing on ... the AIs take their turns and by the time the player has read the popup and responded it's the beginning of their turn again and then things play out just as if the popup had happened at the beginning of the turn.
Any ideas for how to force the game to wait for the popup to be handled?
Currently in my Revolution mod, popups offering players choices in how to handle a rebellious city are launched at the beginning of a players turn. Depending on the situation and player's response, rebel units may spawn. Currently, since this all happens at the beginning of the turn, the motherland gets the first strike ... the rebels spawn and you get to attack them first. I'd like to change this so that it all happens at the end of the player's turn, that way the rebels get the first strike.
The trouble is, when I launch a popup at the end of the players turn, the game doesn't wait for the players response before continuing on ... the AIs take their turns and by the time the player has read the popup and responded it's the beginning of their turn again and then things play out just as if the popup had happened at the beginning of the turn.
Any ideas for how to force the game to wait for the popup to be handled?