Hello. I have been working on a game the pass few nights. The game is similar to Space Invaders. When the bullet hits an npc I would like the npc to go invisible. Due to the npc being now not visible the bullet still hits the invisible npc and does not ever get to the one above. Is there a way for me to disable the npc. The npc is a picture box. (pic_npc1) If anyone could help that would be great!
Below is a photo of the game that may help.
Attachment 98589
Caption: The bottom black box is the shooter. When a bullet is shot, it hits one of the targets. Once the target is hit, it goes invisible and resets the bullet. Is there a way to disable the target that has been hit so that is does not interfere with the other ones above it. How to explain this more clearly is that once a bullet has hit the target and reset, the target is invisible but still there doing the code over and over again. I need so way to disable the target once the bullet hits it. Thank you!
Below is a photo of the game that may help.
Attachment 98589
Caption: The bottom black box is the shooter. When a bullet is shot, it hits one of the targets. Once the target is hit, it goes invisible and resets the bullet. Is there a way to disable the target that has been hit so that is does not interfere with the other ones above it. How to explain this more clearly is that once a bullet has hit the target and reset, the target is invisible but still there doing the code over and over again. I need so way to disable the target once the bullet hits it. Thank you!