So, basically I got a caged survival game where enemies spawn every set seconds and the player's task is to just dodge them.
Enemies are homing to player's direction and set into bullet. Spawn are set into random to the coordinates of the playing field/layout.
Now I want to make the enemies "harmless" on spawn where it:
1. Set a flash effect/animation to indicate that it is spawning
2. Stop moving on spawn for the whole duration of the animation (around a sec or so)
3. Set into "harmful" after the animations and start chasing the player to death again
This serves as a warning system so that the player doesn't die from frustration due to the occasional "enemy spawn on player". Tried a whole lot of things and it just didn't work, so any kind of help is highly appreciated.