diplomacy screen help

seclifeciv

Chieftain
Joined
Jan 26, 2010
Messages
4
I'm trying to get the diplomacy screen to show when I take over a specific city but I can't figure out how to show the diplomacy screen. There doesn't seem to be a "showdiplomacyscreen" function in CvScreensInterface.
 
If you mean the screen with a leaderhead where you can trade and things like that, then I think the function to launch that is part of the player object: PyPlayer.contact(iPlayer) where iPlayer is the other player for this player to contact (and PyPlayer.canContact(iPlayer) to see if it is possible). What would happen after calling this if both players are AIs is not clear. I'm not completely certain this is the function to do this, but it is worth a try.
 
Top Bottom