G
GoldenPotato135
Guest
Im trying to make it so when I kill my boss enemy (obj_fem) it allows me to open a door (obj_enddoor), but i cat figure out how to do it. Please help.
with (obj_door)
{
instance_destroy();
}
this is only the basic stuff. I also have a more complex code that indexes every boss and the door that opens when the boss is killed. Let me know if you want it.I have a similar system. Once a boss is killed, the door object gets destroyed allowing the player to move ahead.
Basically I have this in the code that deals with what happens when the boss dies :
Code:with (obj_door) { instance_destroy(); }
thank you but I probably wont need itthis is only the basic stuff. I also have a more complex code that indexes every boss and the door that opens when the boss is killed. Let me know if you want it.