N
Ned Madigan
Guest
So heres the deal, I am very new to gml, like very new. I am trying to make a the object destroy when its health is too low. But, when there are multiple of the same object in the room, they will all act as the same thing... they will all be destroyed. Is there a way to make it so only the object affected will be destroyed:
This is in the step event of, obj_enemy.
if healt<0
{
instance_destroy();
}
This is in the step event of, obj_enemy.
if healt<0
{
instance_destroy();
}