Quick question for all you python people out there (or others), should be simple to answer:
How do you get an if statement to run only at a specific time on a timer property?
due to floating point accuracy issues, this is not possible with a timer property. you need to convert the float to an integer, however, this could possibly cause the if statement to return true multiple times. counting by frame is preferable.
## "Timer" property is set to Type Integer ##
own["Timer"] += 1
rand = random.randint(1, 9)
if own["Timer"] == rand:
own["prop"] += 1