This is my hitTest code on the bullet:
// If bullet hit nme, nme loose life & terminate
if (_level10["nme"+i].hitTest(this._x, this._y, true) ) {
_level10["nme"+i].life -= random(5);
this.removeMovieClip();
}
The same code works fine with my "ship" and "enemy", but i think thats because the ship is the one loosing "health" and has a static variable name, unlike my enemies.
Any help would be greatly appreciated
Edited by Tromac, 02 November 2006 - 07:01 AM.
