Limited number of spawns
Pineapple_King
Member Posts: 16
Hey all,
I am looking for a rule that can either limit the number of spawns of an actor (meaning i can only click 10 times, after the 10th click no actor is spawned) or stop spawning altogether after certain conditions are met.
Thanks a lot,
PK
I am looking for a rule that can either limit the number of spawns of an actor (meaning i can only click 10 times, after the 10th click no actor is spawned) or stop spawning altogether after certain conditions are met.
Thanks a lot,
PK
Comments
In your spawn rule have the condition "if SpawnLimit < 10", and add a change attribute behavior "10SpawnLimit +1"
At some point you will probably need to clear or reduce that number, like if you destroy one of the spawns, change attribute "10SpawnLimit -1"
There might be a simpler way.
_______________
Nesen Probe http://itunes.apple.com/us/app/nesen-probe/id377766693?mt=8
Tickle Stones http://itunes.apple.com/us/app/tickle-stones/id363484260?mt=8
Food Fight! (free) http://itunes.apple.com/us/app/food-fight/id352646643?mt=8
Cheers,
PK
I've never reached a crash by this, but might once I start making spaceship shooters ;-)
Lasers everywhere!