A Better Way To Spawn Actors?

MetzoPainoMetzoPaino Member Posts: 195
edited November -1 in Working with GS (Mac)
I'm trying to make a scene where the player is at the bottom and enemies come down in lanes from the top.

Sounds fairly easy, just set up a random timer to spawn actors. But it seems the random timer randomly decides a time, (between 1 & 10 in this case), and then keeps that time, which makes for very dull levels.

Does anyone know a better way to make truly randomised amounts of enemies?

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    You can make a game attribute called timer

    And say every 0 seconds change game.timer to random(1,10)

    And then in your timer duration place the game.timer attribute.

    That should allow you to actually make your timer more random.
  • MetzoPainoMetzoPaino Member Posts: 195
    Unfortunately that makes a constant stream of actors.
Sign In or Register to comment.