Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: hitTest help...


Mod of Doom

Status: Offline
Posts: 574
Date: Jul 9, 2006
hitTest help...


Why couldn't they have made AS like normal people? Well,


OK, I need to make it so an object wit the instance name mib_bullet1 collides with an object called sprite 295, mib_bullet1 is removed from the area. Please answer. I'm trying to program defensive cover.



__________________


Invader Zim Freaks 3 Creator

Status: Offline
Posts: 3272
Date: Jul 9, 2006

try putting this on mib_bullet1

onClipEvent(enterFrame){
if (this.hitTest(_root.sprite295)){
_root.mib_bullet1._visible=false
}
}

__________________
Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard