mrkingkong
Young Padawan
Okay, can anyone tell me why this bit of code is not working as it should?
Intended use: to create a welcome back message to be displayed after the user loads up the game
Actual effects: well, nothing as far as i can tell
This is my first foray into Python, and i thought i would start nice and simple. I have put this after def onLoadGame section of the CvEventManager.py.
Please help
mrkingkong
PHP:
def onLoadGame (self, argslist):
CyInterface().addImmediateMessage("Welcome back!","")
return 0
Intended use: to create a welcome back message to be displayed after the user loads up the game
Actual effects: well, nothing as far as i can tell
This is my first foray into Python, and i thought i would start nice and simple. I have put this after def onLoadGame section of the CvEventManager.py.
Please help
mrkingkong