Use condition called Compare Two Numbers
In 1st value type mod(TimeFromStart,5)
For sign of the test choose greater than
In 2nd value type 0
Trigger once
me personally, when i want npcs to wander around, i make an object variable called “want” or something like that, add the platformer character movement (or any character movement) and start an object timer at the beginning of the scene.
like this:
At the beginning of the scene: Start or reset timer “movement” of (NPC).
If timer “movement” of NPC is greater or than “RandomFloatInRange(3.5, 9.6)”: Change object variable “want” of (NPC) to “RandomInRange(1, 5)”, and Start or reset timer “movement” of NPC
If object variable “want” of (NPC) = 1: Simulate Left Key Press
(and it goes on…)
One thing I’d also recommend is having an object variable called “ID” for each instance, and put these events under it, so it’s a lot easier to manage