"How do I make an enemy shoot"
Then i proceeded to tell you how the enemy works. Does not look around, does not move at all.
I want to make it shoot in a straight line either left or right.
If it's bullet hits a wall, then the bullet with disappear.
It has a shooting animation, an idle animation, and a reload animation.
I think I explained it pretty well.
One thing I failed to mention however is that I would like it to shoot ever 2 seconds or so.
To put it simply, I need a way to make the enemy shoot after the "Shoot" animation, to "reload" after it's shot, and to idle in between shots. I also need to figure out how to make the bullets appear every 2 or so seconds over and over again.