Hi
I want to randomly spawn an object on the scene, but still struggling!
What is your idea
thanks
Do you want it to repeatedly spawn or just once?
I need to repeatedly spawn.
Hey!
Have you tried adding a trigger once to this event?

Yes, I have tried it.
IDK if you meant for the last event to be a subevent. Currently, the timer is being reset before the elapsed time condition so it will never expire.
What should I do? There is no function for elapsed time?
Can you explain more.
Hello SaeedP,
I think you can put the trigger once on event that @SnowyRawrGamer said and change the subevent to be an event like @Keith_1357 pointed.
Without trigger once your event will be true while the variable NumberRange = 3. So, every frame it will reset the timer “RedSpawn”.
![]()
try this
But how did you use the “repeat every by time” ?
Is that a sub-event?
I mean, how could you add it to the scene?
There is an extension called repeat every X seconds, download that into your game and you can use it!
I myself didn’t even know about it!
@mrcraftar , maybe next time you should mention if you are using an extension, coz it can get confusing! ![]()