Spawn Enemy After Checkpoint

Discussion in 'How Can I...?' started by Jooolz, Oct 12, 2018.

  1. Jooolz

    Jooolz Boxer

    Joined:
    Aug 12, 2018
    Messages:
    11
    Likes Received:
    2
    I have an enemy that spawns on screen 2, the idea is that it chases the character through the world The wakeup distance is set to -150 so that it spawns to the left, and it's a permanent spawn with 150 timer (so that on practice it only spawns once). In later screens, I also have checkpoints so that the player doesn't have to restart from the beginning in case of death.

    The problem I have is that since the spawn is only activated on screen 2, restarting play on any checkpoint later than that will have the enemy not appear. If I copy the enemy and paste on the checkpoint screens, I end up with multiple enemies.

    Is there way to have it spawn on checkpoint screens only if I restarted play?

    Thanks
     

Share This Page