How to decrease spawn rate after 1 min?

astrom0astrom0 Member Posts: 40
edited November -1 in Working with GS (Mac)
As of right now I have an actor that spawns another actor every second and I want to know is there a way I can decrease the time after one min?

Comments

  • mlaftamlafta Member Posts: 147
    Yes, create a timer that is after one min, another timer starts to spawn every sec. Is that what you want?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    hey there,

    make a real attribute called spawnTime, and set it to 1.

    In your timer where it says every 1 second, hit the e to bring up the expression editor and select the spawnTime attribute you just made. So it should be every spawnTime spawn actor.

    Since the spawnTime attribute is set to 1, the timer will be every 1 second. ANd whenever you want to change the time between spawns, just change the spawnTimeattirubte with a change attirubte behavior
  • astrom0astrom0 Member Posts: 40
    I did every thing you said but the time doesn't seem to decrease? I changed attribute to
    every 10 sec
    (Game.SpawnTimer To: Game.SpawnTimer-1) did I make any mistakes?
Sign In or Register to comment.