After getting help on making an event that detects whether or not the player is in front of an enemy, I now need help fixing a problem I found.
My game has an event that (after 5 seconds) creates an enemy that you have to kill. When you are in front of that enemy, it is supposed to shoot a missile at you but when it does shoot the missile it makes all of the enemies in the game do it instead of the one that you were in front of.
So it would be great if (because I am new at this) someone helped me figure out how to make it so only the enemy you were in front of shot the missile instead of all of them.
Just an extra question that I need help with: when it does shoot a missile, they don't go straight like I want them to and instead will go straight and float up or down for some reason.