The game year in Python

Depx

Chieftain
Joined
Dec 27, 2005
Messages
29
I'm trying to figure out how to get the current game year during a game to compare it to a year in python like

if gameyear == -4000

I cant figure out how to get the current year, anyone know? Id like the integer value but Id take anything I could get hehe.
 
Of course after spending hours working on it, I find it soon after I give up and post. For anyone wondering

gc.getGame().getGameTurnYear()

worked for what I needed :crazyeye:
 
Yea, I find the answers to my stumped problems a few momemnts after I throw in the towel. Glad you got what you needed.
 
Back
Top Bottom