Spawn intervals tied to the score

RodericRoderic Member Posts: 145
edited November -1 in Working with GS (Mac)
I'm trying to set the spawn action of an enemy actor to spawn after the score reaches a random amount between 500 and 1000 points and again at different score levels throughout the game. I got the basics working using random(500,1000), but after the actor spawns and the score is still less than 1000, it sometimes spawns again while still under 1000.

How can I set it to only spawn once while the score is in that range?

Thanks.

Comments

  • SamXOOO7SamXOOO7 Member Posts: 47
    Is your timer for the random number set to every? If it is, set it to After. If thats not whats wrong could you tell me the rules your using, it would make it a lot easier.
  • RodericRoderic Member Posts: 145
    Hi Sam, Thanks for the reply. I am not using a timer, but instead a rule that says if the score reaches a random number between 500 and 1000, then spawn the enemy actor.

    I don't really want to use a timer, as I would prefer that the new actor spawns after a certain score has been reached, random(500,1000).

    Any suggestions?
    Thanks.
Sign In or Register to comment.