It'll be much faster if you familiarize yourself with gE instead of asking us to build individual bits to your game. Don't expect to be able to make your game immediately, and therefore ask how to do things when you run into the slightest bit of not knowing. gE isn't hard to learn. Play around with it. If you haven't already you might try the built in tutorials. Learn the basics.
barney12345 wrote:Thanks, can u tell me a code for getting the enemy to shoot the main guy every 10 seconds. I know i need a timer but can u tell me the code
You already know that using a timer would be a good idea. A timer triggers after a certain amount of time, in your case you want it every 10 seconds. Timers can loop infinitely if you set them to. I've already told you the code to have the bullet move towards the player, so the only thing left is creating the bullet. As the action implies, you'll need to use the CreateActor function to create the bullet. You already know you want the bullet to be created every 10 seconds, so you put the CreateActor call into the timer event. Only thing left to do is create the timer for the enemy which you would probably do in the enemy's create actor event. That way they will start shooting after they are created.