# Missile Strike?

**URL:** <https://forum.kirupa.com/t/missile-strike/118250>\
**Category:** Uncategorized\
**Created:** [August 4, 2004, 12:58am UTC](https://forum.kirupa.com/t/missile-strike/118250 "2004-08-04T00:58:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moopers](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Moopers](https://forum.kirupa.com/u/Moopers)\
**Post date:** [August 4, 2004, 12:58am UTC](https://forum.kirupa.com/t/missile-strike/118250/1 "2004-08-04T00:58:25Z")

</div>

ok i’m working on another game now. it is basically like missile strike. i got the aimer and everything but i need help.

how do i make it so that when you fire a missile, it goes to the designated target?

so far, i got it to work so that when you fire the missile it goes towards the aimer, but if you move the aimer, it follows it.

---

<div class="post-metadata">

**Author:** ![Moopers](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Moopers](https://forum.kirupa.com/u/Moopers)\
**Post date:** [August 4, 2004, 1:20am UTC](https://forum.kirupa.com/t/missile-strike/118250/2 "2004-08-04T01:20:52Z")

</div>

O.k. i was thinking something through to make it work and it did, but i’m not sure if it’s the right way to do it.

Anyways, you make another movie clip and have the missile go towards the other movieclip and when you click to fire, the movie clip’s position is set to the position of the aimer, therefore the missile will go towards that position.

Does anyone know another way to do it? Just wondering…

---

<div class="post-metadata">

**Author:** ![McGiver](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@McGiver](https://forum.kirupa.com/u/McGiver)\
**Post date:** [August 4, 2004, 11:26am UTC](https://forum.kirupa.com/t/missile-strike/118250/3 "2004-08-04T11:26:56Z")

</div>

how about just saving the target’s x and y coordinates in variables?

---

<div class="post-metadata">

**Author:** ![Moopers](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Moopers](https://forum.kirupa.com/u/Moopers)\
**Post date:** [August 4, 2004, 6:42pm UTC](https://forum.kirupa.com/t/missile-strike/118250/4 "2004-08-04T18:42:42Z")

</div>

oooog why didn’t i think of that???:huh:

lol
