Hello,
Apologies if this sort of thing has been cover before. Searching for instance_destroy brings up a fair few hit. Anyway, I have a fairly simple and probably fairly messy program I'm mucking about with. The outside room event with one of my instances does not appear to be behaving as I thought it might. Basically outside room -> instance_destroy. However the outside room event gets called multiple times for one instance, or loops or something? just one bullet travelling outside the room causes loads of outside room messages.
Also something similar with the collision event maybe? The same bullet will not destroy itself and will happily continue to travel across the screen through whatever it encounters. Everything else gets destroyed correctly - or so I currently think! What am I missing/not reading/being completely inept about?
Thanks!!
Apologies if this sort of thing has been cover before. Searching for instance_destroy brings up a fair few hit. Anyway, I have a fairly simple and probably fairly messy program I'm mucking about with. The outside room event with one of my instances does not appear to be behaving as I thought it might. Basically outside room -> instance_destroy. However the outside room event gets called multiple times for one instance, or loops or something? just one bullet travelling outside the room causes loads of outside room messages.
Also something similar with the collision event maybe? The same bullet will not destroy itself and will happily continue to travel across the screen through whatever it encounters. Everything else gets destroyed correctly - or so I currently think! What am I missing/not reading/being completely inept about?
Thanks!!
Attachments
-
192.8 KB Views: 11
-
121.9 KB Views: 11