Dr_Nomz
Member
Let's say I have an object that runs a series of things all at once, one of them being to destroy itself, like so:
If I were to run the destroy code up top instead of last, will that destroy the instance BEFORE all the other code is ran after it, or will it be able to run all at once with no issues?
GML:
with(collide_close){
scr_Enemy_Damage(argument0);
}
instance_create(collide_close.x,collide_close.y,obj_Hit_Detector_2);
instance_destroy(self);