J
jaigantor
Guest
Am trying to make it so that when an enemy collides with my object obj_EnemyDeath it is destroyed and I lose a life.
currently on my enemy object I have created a collision instance and this is the code within
with(other) instance_destroy(self);
global.baah --;
*baah being health just a wip name*
it works for the first enemy that collides with obj_EnemyDeath but not for the rest of them,
any help appreciated, thanks
currently on my enemy object I have created a collision instance and this is the code within
with(other) instance_destroy(self);
global.baah --;
*baah being health just a wip name*
it works for the first enemy that collides with obj_EnemyDeath but not for the rest of them,
any help appreciated, thanks