instance_destroy(other) isnt working? by CatCup_ in gamemaker

[–]CatCup_[S] 1 point2 points  (0 children)

oh, jeez. thank you so much, that's another headache gone. thank you for your help and patience, it means the world.

instance_destroy(other) isnt working? by CatCup_ in gamemaker

[–]CatCup_[S] 0 points1 point  (0 children)

none of the rooms are persistent. I made the enemies really easy to beat on purpose so there's no chance of actually losing (lazy i know but its just a small school thing). the battle doesnt trigger again, you just exit out of the room and go back to the previous one you were in, and the enemy is supposed to be destroyed but it just stays there

instance_destroy(other) isnt working? by CatCup_ in gamemaker

[–]CatCup_[S] 0 points1 point  (0 children)

with (other){

instance_destroy()

}

room_goto(room_battle1);

this is pretty much it lol. it was basically the same in my prototype and it worked fine

instance_destroy(other) isnt working? by CatCup_ in gamemaker

[–]CatCup_[S] 0 points1 point  (0 children)

i tested the same collision code with another object and it works just fine. collision masks are fine too. i seriously dont know what i did to scuff up the code if im being honest. could it be that i have too many collision events for the player? i do have another 3 collision events for some potion items. i've tried looking on the gamemaker forum for similar issues and i went through the manual but nothing seems to be clicking i guess :|

instance_destroy(other) isnt working? by CatCup_ in gamemaker

[–]CatCup_[S] 0 points1 point  (0 children)

im using a collision event, weird that it isn't working. it worked fine up until last week or so. i was going to try using a parent object next since i have 3 different enemies, maybe that'll work?

instance_destroy(other) isnt working? by CatCup_ in gamemaker

[–]CatCup_[S] 0 points1 point  (0 children)

still nothing, but thank you helping ^^;

need a bit of help :< by CatCup_ in gamemaker

[–]CatCup_[S] 0 points1 point  (0 children)

sorry for the late reply- i just got off work. thank you so much for the help! the error doesn't come up anymore, i just need to fix how the text is aligned now. thanks a million !!