# Multiple enemies fire - rotation/movement

**URL:** <https://forum.kirupa.com/t/multiple-enemies-fire-rotation-movement/224304>\
**Category:** programming\
**Created:** [May 1, 2007, 1:19am UTC](https://forum.kirupa.com/t/multiple-enemies-fire-rotation-movement/224304 "2007-05-01T01:19:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgelston](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tgelston/32/54_2.png) [@tgelston](https://forum.kirupa.com/u/tgelston)\
**Post date:** [May 1, 2007, 1:19am UTC](https://forum.kirupa.com/t/multiple-enemies-fire-rotation-movement/224304/1 "2007-05-01T01:19:45Z")

</div>

Hello!

I am helping one of my students create a game like the old school Ikari warriors. We are making good progress but I am stuck on the logic needed to have multiple bad guys fire their bullets toward the player.

Let me set up a more detailed example and then I will ask a few questions

Okay so Badguy1 badguy2 and badguy3 are on the stage. They each decide to fire. Using duplicate movie clip a bullet is created. We need to start that bullet at the current position of whoever fired it and then move it toward the player. I know how to do one badguy firing but I don’t know how to pass this info to multiple bullets.

How do I pass this information to each bullet?  
From reading posts it seems attach movie clip is preferred over duplicate movie clip. . what is the reason?

I appreciate any help you all can provide. I did read through several posts but I did not see any that addressed multiple badguys on the stage firing. If I missed something feel free to point me in the right direction.

THANK YOU!
