Wait command for "DO"?

@Ready
I tried coding “When an event happens” to set a Counter to 1,wait 2 secs,then set the Counter to 0.
The closest i could code was to code for the value to be set to 0 every 2 secs( System-runtime-every frame)
This made a mess of the code.

Could a simple WAIT block be added in future to enable a wait time between “DO” functions?
This would help a lot.

1 Like

Thanks, that’s a good idea, maybe this will be added in the next versions. At the moment, you can use a “Timer” (+\Interface & text \ timer) in your scripts. Not in all cases, but it often helps to implement a similar task.

1 Like

In the meantime- what about adding a Timer object to the scene. On Event1 reset timer to 0 and run timer. On Event2 when Timer >=2 seconds, DO something AND reset timer to 0.

1 Like