Last few weeks I´m doing a lot with properties, ths time a “timer” property type frustrates me:o
I have a simple script that should print “ya de ya de ya da da” when the timer property is equal or bigger than 1. The problem is, that when timer property reaches 1, nothing happens. No syntax error, but just nothing happens.
here is my script
import GameLogic cont = GameLogic.getCurrentController() own = cont.owner time = own["time"] if time>=1: print ("ya de ya de ya da da")
but if you put
it works well.
timer_problem.blend (128 KB)