Can you help me. These are timer scripts. I need an exact describtion of each line of these scripts. Would you be so kind and help me. Thank you very much.
These are the scripts:
1 import math
2 import GameLogic
3 contr=GameLogic.getCurrentController()
4 owner=contr.getOwner()
5
6 for i in range(0,20):
7 if owner.Time>=60*i:
8 owner.Text=i
1 import math
2 import GameLogic
3 contr=GameLogic.getCurrentController()
4 owner=contr.getOwner()
5
6 for i in range(0,100):
7 if owner.Time >= 60i:
8 owner.Text=int(owner.Time)-60i
1 import math
2 import GameLogic
3 contr=GameLogic.getCurrentController()
4 owner=contr.getOwner()
5 owner.Text=int((owner.Time-int(owner.Time))*100)
Thank you!!!