How can a destroyed object be visible?
If an object is destroyed and later there's a condition
"(Active) is visible" -> End the application
the application still closes... how is this possible since the Active doesn't exist? Same for "(Active) is in play area)" - in this example the application would end too.
Re: How can a destroyed object be visible?
Destroyed objects aren't removed until the end of the event loop. Probably the problem here.
Re: How can a destroyed object be visible?
Thanks :) that explains this part, but then I tried destroying it followed by
"Number of objects = 0" -> end application
and the application closes.
But the same happens (the app closes) if it's evented like:
"Number of objects = 1" -> end application
Strange, how can it both be true? I guess the destroyed objects are in a limbo till the end of the loop...
Re: How can a destroyed object be visible?
or it could be the variable isn't reset, either way that doesn't make sense as there's no such object, so you can't check if it's visible or not, and I think that makes MMF2 use the last solution available.
Re: How can a destroyed object be visible?
@MechaBowser yes, but the same thing happens if it's stated like (destroyed) "(Active) is in the play area" - which it definitely isn't since it's destroyed... if the objects are really removed only at the end of the loop that would explain why it behaves like this.