Have tried to figure this out using the timers here:
scirra.com/tutorials/450/timers
but have not had any success. In short I am wanting to spawn an object on a layout every say 30 seconds. However at the start of a layout I want to start over and thus the construct statement "every x seconds" wont work as that is a revolving clock.
So I created a global variable "timer=0"
Add 1 to timer every 1 seconds
Set timer to 0 at the start of layout
Now my only question is how to get it to spawn the object every thirty seconds using my timer variable above?
I tried when timer/30 is equal to integers 1-50 but int doesnt work that way, I was basically trying to get it to only spawn when it was a multiple of 30. Any ideas much appreciated.