User Tag List

Results 1 to 3 of 3

Thread: How would you trigger an event after a fastloop?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Feb 2007
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How would you trigger an event after a fastloop?

    Hey people.

    Perhaps you could share some MMF techniques and approaches.
    As with any programming language it seems like there is good practices and bad practices, but it can be quite hard to find examples.


    I've been trying to trigger events after a fastloop. So how'd you go about making this happen?
    (I had originally thought about increasing a counter, and if the counter is equal to the value, do this.)


    But, what if you don't know how many loops the fastloop does?
    Can you specifically check for NOT on Fastloop "loopA" then do this?
    (I've been using activate group, and putting the things I want to run within that group on activation. But I then need to de-activate the group etc. I've also tried, run this event once on loop.)


    What happens if you want to start another fastloop after that fastloop? (It seems that nesting a fastloop within another fastloop, will jump through to the second fastloop, and ignore any other actions in the first fastloop until the second fastloop has been performed. So to get round this you have to put the fastloops in reverse. i.e. the thing you want done first in the second fastloop, but it still does 1 pass of the first fastloop first.)

    How do you exit a fastloop that hasn't finished? Is it possible? I saw an extension called 'Immediate IF', but at first glance didn't understand how to use it. (wasn't immediately obvious enough for me ahahahah, sorry.)



  2. #2
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would you trigger an event after a fastloop?

    Um, you simply place the events after you trigger the fastloop?
    If you wanted to trigger multiple loops you trigger it right after the first.

    + On event blaa
    - Start loop a X times
    - start loop b X times
    - do other things

    Or is that not what you meant?

  3. #3
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would you trigger an event after a fastloop?

    Use the (loopindex"myloop" - 1) as reference.

    Let's say you run a loop for number of object times.

    On loop "myloop"
    + loopindex("myloop") = (nr of objects xyz) - 1

    --> do whatever you need to do.

    Personally I put loops into disabled groups. Calling the loop on "group activation" and using the above setting to "disable" the group once the loop is finished.

Similar Threads

  1. Trigger event on Windows shutdown?
    By Ryan in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 3rd July 2013, 10:46 AM
  2. Trigger Event When Objects in Group Share Same Value
    By Sky in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 5th June 2013, 11:18 AM
  3. Search inside edit box for text, trigger event.
    By Kingoftaurus in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th May 2010, 04:33 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. trigger event when all enemies are same state
    By ionside in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 20th January 2010, 10:07 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
  •