A
anjai
Guest
I tried to find it out myself but all of the tutorials explain how to randomly respawn after some time and I need my object to respawn on the exact same place it got destroyed and just after it got destroyed and not at a certain amount of time If someone could tell me how to do it or where to find the information I would be incredibly thankful!
I made a begin step event on the object which I need to respawn and added this code:
I also made a collision event on the bullet:
I made a begin step event on the object which I need to respawn and added this code:
Code:
if (hp <= 0)
{
instance_destroy();
}
Code:
with (other)
{
hp = hp -1;
}
instance_destroy();
Last edited by a moderator: