M
Matthew Imamura
Guest
So basically I want to destroy the 1st instance if a 2nd one is created.
here are the current codes I have:
But instead of destroying the 1st one, it is destroying the new ones that are being made.
is there anything i can use to destroy the 1st instance if a new instance is created?
any help would be much appreciated, thank you for your time
here are the current codes I have:
Code:
if (instance_number(obj_activetrail) > maxobject)
{
with (instance_find(obj_activetrail, maxobject))
{
instance_destroy();
}
}
is there anything i can use to destroy the 1st instance if a new instance is created?
any help would be much appreciated, thank you for your time