I need to update a script that I found here a while back. It’s just a simple python script that displays a countdown timer. Unfortunatly Blender 2.49 doesn’t work with it. I don’t know any python so any help in updating it would be greatly appricated.
own = GameLogic.getCurrentController().getOwner()
timer = 300 - own.timer
minutes = int(timer/60)
seconds = int(timer%60)
own.Text = str(minutes) + “:” + str("%02i"% seconds)
Here is the website that I got it from http://www.blendenzo.com/tutTimer.html