- Home /
Getting an object to spawn on a set time
Hi i am a modeller so i cant script and i was wondering how to get health packs to spawn every 5 seconds and then after a 30 seconds period the object spawns every 10 seconds then in another 30 seconds it spawns every 15 seconds thx
Sorry, you'll have to clarify this a bit. I don't get the last part "and then after a 30 seconds 10 seconds"?
@pluto: Just because you're a modeler, it doesn't mean you can't script. Plenty of artists and modelers do some program$$anonymous$$g as well, so there's nothing stopping you from learning some program$$anonymous$$g yourself.
Answer by Deozaan · Apr 24, 2011 at 08:45 AM
Try watching these two videos:
http://www.unity3dstudent.com/2010/07/beginner-b05-instantiate-to-create-objects/
http://www.unity3dstudent.com/2010/07/beginner-b06-simple-timer/
Then combine the knowledge you learn from both of these videos and you will be able to instantiate any object at any given interval.
Your answer
![](https://koobas.hobune.stream/wayback/20220613124837im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Making a fill take exactly n seconds to complete 2 Answers
Respawn for Enemys 1 Answer
Trouble with a respawn script 1 Answer
Countdown timer? 1 Answer