User Tag List

Results 1 to 5 of 5

Thread: How can a destroyed object be visible?

  1. #1
    RayMarble
    Guest

    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.

  2. #2
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can a destroyed object be visible?

    Destroyed objects aren't removed until the end of the event loop. Probably the problem here.

  3. #3
    RayMarble
    Guest

    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...

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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.

  5. #5
    RayMarble
    Guest

    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.

Similar Threads

  1. Destroyed object reapears!
    By AftPeakTank in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 24th June 2013, 09:11 AM
  2. [Bug] String Objects outside visible area not destroyed
    By JoKa in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 19th November 2012, 10:48 AM
  3. Last object has been destroyed with a flag on
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd May 2011, 12:27 AM
  4. object not completely destroyed?
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 30th June 2010, 04:23 PM
  5. Object destroyed if not on frame
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 12th April 2010, 03:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •