Enemy respawn

How do I Make the enemy respawn after a certain amount of seconds?

I’ll do this in psuedo code as the actual implementation could vary based on your needs.

//if enemy is dead
{
    //Count down timer

    //If timer is at zero
       //reset properties of enemy or set variable holding enemy as a new enemy object
}
1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms