Gerikes
User of Run-on Sentences.
The Great Apple said:Hmmm. Good question.
You'd probably have to iterate through all the player's to find the one with the right Civ:
Code:iCivPlayer = -1 for i in range(gc.getMAX_CIV_PLAYERS()): if gc.getPlayer(i).getCivilizationType() == gc.getInfoTypeForString("<Insert civ name>"): iCivPlayer = i break
I would think that if you're trying to figure out how to get a players id, there would be some sort of reference (either a city, unit, plot, etc.) that you are drawing from. Isn't it possible to have multiple players be the same civ type?