Re spawning help!
iDeveloperz
Member Posts: 1,169
Hi, I was wondering if anyone could help me with my problem. I am currently making a game where rocks come from the left and you have to tap them before they touch the earth on the right. But I am having problems where once you tap the rock thats it. Does anyone know how to add an unlimited, or a chosen limited number of rocks that will re spawn on the left hand side?
Thank you.
Thank you.
Comments
In your Spawner (Whatever actor spawns your rocks)
Create Integer Attrib: Rocks Left
Timer: Every 3-5 secs
Rule:
If Rocks Left > 0 then
Spawn Rock
Rocks Left = Rocks Left -1
You just need to set the Rocks Left Attrib to however many rocks you want to spawn. You can even have:
Rule:
Change Attribute Rocks Left to Random (25-50)
That way every time the level starts it will randomly set the number of rocks.
Want it to spawn unlimited??
Rule:
Timer: Every 3-5 secs
Spawn Rock
etc....
Thanks a lot.