Haha, right. Will do that.Add a show_debug_message() or show_message() to each event and find out? $:^ } (Or, step through code? Either way, easy to test.)
I hope this helps, $;^ J
Well, it doesn't say anything about the order when it comes to those two events. It has to be one way or the other, right? That is why I asked.According to the GMS2 documentation section on event order, Clean Up and Room End events aren't guaranteed to run either before or after the other.
That part was talking about which events are 100% guaranteed, across all runtimes past and future of GMS2 to run in that order. Anything else has the possibility of changing at a moment's notice because you're relying on GM's internals not changing for your code to be stable. Like the section I linked says,Well, it doesn't say anything about the order when it comes to those two events. It has to be one way or the other, right? That is why I asked.
the exact order that the events are going to occur in each step cannot be clearly stated, simply because it depends on the internal workings of GameMaker Studio 2 and this is subject to change as the software develops.
Right. I was already trying to avoid depending on the order of those events, and now that it seems like there's no rigid order of their execution, I'll have to look for a different solution.That part was talking about which events are 100% guaranteed, across all runtimes past and future of GMS2 to run in that order. Anything else has the possibility of changing at a moment's notice because you're relying on GM's internals not changing for your code to be stable. Like the section I linked says,
Thank you! And yes, I did test (after Bob suggested), and that's how it is. I should have tested instead of creating this thread haha, I have the dumbClean up should be called after room end.