How do I set a city to build a certain unit? The only function that seems able to set what the city build is chooseProduction(). But as far as I can tell, it does nothing. This is the code I have.
city = iPlayer.getCapitalCity()
city.chooseProduction(17,-1,-1,true)
city.hurry(1)
The capital city acutally hurry everything it builds, so I know line #1 and #3 works. But I can't force it to choose to build a certian unit.
city = iPlayer.getCapitalCity()
city.chooseProduction(17,-1,-1,true)
city.hurry(1)
The capital city acutally hurry everything it builds, so I know line #1 and #3 works. But I can't force it to choose to build a certian unit.
Comment