> random() can't be use like that.
> If you want the event to be triggered every 2-5 seconds, use random(2,5)
> Or, if you want it to be in 0.5s intervals, use choose(2,2.5,3,3.5,4,4.5,5)
I see, TIL!
Additional question! If i make a copy of the sprite with those random movements, they will all have synchronized movement right? (tried it)
So to prevent that from happening, do i need to make a at least 5 different sprites with different random movements or is there a way to make it efficient? Like i dont want them to do synchronized movement in case the village reach 10 population (it doesn't look natural if they all move the same every random intervals).
To build on what dop2000 said: If you want each instance to do something different every time you should use "For Each". (https://www.construct.net/en/make-games/manuals/construct-3/system-reference/system-conditions#internalH1Link5)
It will loop the actions once for every instance of your sprites/villagers. You could then randomly decide (inside that loop) if that villager will move or not, and how much.