I've provided a video and code. obj_ray is supposed to only destroy the instances of obj_enemy parent that it touches, but for some reason it destroys ones that it isn't
#Why does this object destroy ones that it isn't even touching?
13 messages · Page 1 of 1 (latest)
where is the part of your code that does instance_destroy?
I don't see that function anywhere'
These are both part of obj_enemy parent. I guess the problem was that the ray is taking hp away from enemies it wasn't touching, but I'm not sure why
oof. PLEASE tabulate your code. haha
my bad 
oh my mistake, this is the place with the destroy function. i didn't notice i sent the wrong thing until now
the main thing I was confused on was I did not specifically see instance_destroy() anywhere
I see that is were health is reduced but I don't see where it does 'ok health is 0, yeet me from existence'