User Tag List

Results 1 to 8 of 8

Thread: Loop ends? condition event? help.

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Loop ends? condition event? help.


    I need a condition when a loop is finished.

    Ok this is what I have.

    ARRAY with X and Y
    one LOOP going throught array

    Start loop LOAD (dimensionXarray)*(DimY)

    OK so both X and Y comes to the very end.

    The problem is I tried with a lot of different conditions and not one works.

    I tried Loopindex("load") = dimX*dimY actions: popup message
    It popups like every damn second of the loading and won't stop. So that's not it.

    I tried Is the index x at the end and index y and still not working.

    I just need to know when the loop ends. that's bout it?
    Help me

  2. #2
    No Products Registered

    Join Date
    Jun 2008
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Loop ends? condition event? help.

    You almost did it right!

    All you need to do in your [Loopindex("load") = dimX*dimY actions: popup message] Condition is Add "On Loop LOAD" Condition!

    Example:

    Condition:
    On Loop LOAD
    +
    Loopindex("load") = dimX*dimY

    Action:
    popup message


    PS: Sorry about the English, I'm from Brazil!

  3. #3
    No Products Registered

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

    Re: Loop ends? condition event? help.

    It should also be Loopindex("load") = dimX*dimY-1 since loops are 0-based.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Loop ends? condition event? help.

    Thanks for the help.
    But I already solved it with Progress bar object.
    And i like it. It looks cool when loading.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Derby, United Kingdom
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Loop ends? condition event? help.

    Any events placed after the start of loop event will run after the loop finished.

    Condition:

    - Start Loop
    - Popup message

    The popup message will not appear until the loop as completed all of its cycles...

  6. #6
    No Products Registered

    Join Date
    Jun 2008
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Loop ends? condition event? help.

    Quote Originally Posted by IsaacBoy
    Any events placed after the start of loop event will run after the loop finished.

    Condition:

    - Start Loop
    - Popup message

    The popup message will not appear until the loop as completed all of its cycles...
    That's why you have to use ON LOOP Condition before any Condition related to fastloops!

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Loop ends? condition event? help.

    If you absolutely must have it in form of a separate event (to add more conditions?) that triggers when your loop finished, the solution can be to start another loop, like this.

    [User presses Space Bar]
    * Run loop "Do lots of stuff" 200 times
    * Run loop "Loop finished" 1 time

    [On loop "Do lots of stuff"]
    * Do lots of stuff

    [On loop "Loop finished"]
    * Do other stuff

    This can be useful whenever more than one event might need to trigger the fastloops, otherwise you could just have put the "do other stuff" in a "user presses Space Bar" event under the first one.

  8. #8
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Loop ends? condition event? help.

    Quote Originally Posted by IsaacBoy
    Any events placed after the start of loop event will run after the loop finished.
    There are some quirks tho, as fast loops mess up object instance selection and backburner actions such as spread value.
    .:::.Joshtek.:::.

Similar Threads

  1. Event editor - condition colours
    By NashMuhandes in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th December 2013, 12:49 AM
  2. It Never Ends Demo 6
    By Grim_Jester in forum Desktop Releases (PC & Mac)
    Replies: 0
    Last Post: 6th October 2013, 06:52 PM
  3. Bad Event of the condition
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th February 2013, 10:26 AM
  4. Can two or more fastloop condition on same event?
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th February 2010, 11:57 AM
  5. MMF Loop/Always/Condition BUG (emulated)
    By Patrick in forum File Archive
    Replies: 5
    Last Post: 22nd July 2006, 10:58 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
  •