I'm trying to make a simple python script, but my incredible ineptitude with python (an inability to find comprehensive for Civ4's python functions) is causing me problems.
Using onCombatResult . . .
1. I need to get the location (iX, iY) of the victorious unit that triggered onCombatResult.
2. I need to use CyMap().plot(iX, iY).changeCulture (pWinner, 2, False) to alter the culture of the tile the battle was found on.
Using onCombatResult . . .
1. I need to get the location (iX, iY) of the victorious unit that triggered onCombatResult.
2. I need to use CyMap().plot(iX, iY).changeCulture (pWinner, 2, False) to alter the culture of the tile the battle was found on.