But the script is in the bullet, how do i destroy the enemy
instance_destroy(obj_enemy) is not working, it keeps getting a red lineYou cannot possibly tell me with a clean conscience that you have to ask this question after reading the manual page @Roderick linked.
What version are you using? This even works way back in GMS1.4 (according to the GMS1.4 docs).instance_destroy(obj_enemy) is not working, it keeps getting a red line
OMG I forgot that was a GMS1.4 thing. I still kept thinking it was GMS2. Probably because I had been using GM8 for soooooo long. Or maybe this wasn't a feature in GMS1.3? I dunno.What version are you using? This even works way back in GMS1.4 (according to the GMS1.4 docs).