limiting Bullets?

memski425memski425 Member Posts: 19
edited August 2012 in Working with GS (Mac)
Hello,
I followed tshirtbooths tutorial on recycling bullet which was really great. However, is there a way to limit the number of bullets spawned? In tshirtbooths tut, the bullets went really fast when rapidly pressing the actor.

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited August 2012
    You can make a game.bulletcount integer and have it count +1 every time a bullet is spawned then add in a rule with the spawner if game.bulletcount < (your required bullets).

    You can also reset the bulletcount to 0 if you want to cycle through again.

    Darren.
Sign In or Register to comment.