irish,
What you want is a function that handles fireing bullets with a bullet time.
The way you do it is;
1. Determine if the enemy should be shooting the player or not ( usually done with a simple distance check ) If true, continue;
2. Point the enemy at the player
3. Position a bullet ( the bullet would have been created before-hand out of a plain or cube ) at the end of the enemy's gun
4. Give the bullet a Bullet Life. This is what determins how long the bullet is "alive" for.
5. Set the bullet's moving flag to 1 ( just set a variable enemfire = 1 or something to that effect )
6. Each loop, check to see if the bullet is moving. If so, then move it a bit using the Move Object command.
7. Bullet life = Bullet life - 1
8. If the bullet life reaches zero, then the bullet has gone as far as it can go. Destroy ( or reposition ) the bullet, set it's moving flag to 0. Go to 10. Else, go to 9.
9. If Bullet collides with Player, player loses life, bullet life = zero, moving flag = 0. Else go to 6.
10. Repeat
Hopefully that helps some... But, I will not write the code for you, the best way to learn is to write it yourself, and if it doesn't do what you want it to do then post it up here and ask why it's not working.
Jess.
[EDIT] If you have lots of enemies at one time, it would be best if you set up an array to hold all the values, it would be much easier to code, and to handle withing loops

Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy