Okay, so i'm making a tank game, where you shoot missiles etc, but i'm having a problem..
How do you make it so that when it hits a object, the object will preform the script?
So far, the hitTest code is
onClipEvent (enterFrame) {
if (this.hitTest(_root.bullet)) {
_root.bullet.spd =0
}
}
Although that does nothing at all, I know its because there are multiple bullets, but what would I call the bullets? :S
Thanks.