View Full Version : Noob Python question


krowtrobot
Jul 20, 2007, 06:36 PM
Hello all,

I know how to program, but I have yet to touch python in the context of Civ IV, and I have a very simple wish for it's use. I want to have a civilization build a wonder, and then have randomly generated units attack that civ for X number of turns, and if they are still alive at the end, they win the game. So the events would be:

1. Build Wonder
2. Units spawn and attack for X turns
3. If player still owns 4 cities, they win.

Thanks for the help in an advance, and hopefully this will help me get off the ground with python coding for Civ IV!