User Tag List

Results 1 to 4 of 4

Thread: Can two or more fastloop condition on same event?

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Can two or more fastloop condition on same event?

    Can two or more conditions of the fastloop be set to the event?

  2. #2
    Clicker Multimedia Fusion 2Install Creator Pro
    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
    Jan 2010
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can two or more fastloop condition on same event?

    You can indeed *make* such an event, but it's impossible to trigger it. No matter which loop you run, or even if you run one of them inside the other, the event will never occur.

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Can two or more fastloop condition on same event?

    Its a functional "No".

    Fast loops operate as "Immediates" in the MMF2 engine, which means they work only when called by an action, and only when at the top of your conditions for that event. You can identify these "Immediates" because they are colored red. You can only have conditions below them, not above. In general, you cannot have two immediates per event, as the 2nd one would be lower than the first and disregarded (and thus always return "false", and cause the event not to ever function).

    MMF2's documentation on immediates is as follows:
    [spoiler]Ordering conditions within your events
    Each event in your Multimedia Fusion 2 applications can be made up of any number of different conditions. The order in which these conditions are tested depends on the type of condition. There are two types of conditions.

    Immediate conditions

    Most of the conditions in your Multimedia Fusion 2 application are constantly tested. But some conditions, called immediate conditions, are executed only when the originating event occurs. For example, the key test condition only occurs when the user presses a key. These conditions can therefore be true at any moment in your application.

    Here are some of the immediate conditions:

    Collisions between objects
    Collisions with the background
    An object leaves or enters the frame
    The user clicks an object, the frame, or a specific zone
    The user presses a key
    The player presses a key
    "Start of application" conditions occur
    The timer reaches a specific value
    Normal conditions

    Normal conditions are tested for in the order in which they appear in the Event editor. For example, if you have an event with a "Start of frame" condition and a "Compare the counter to a value" condition, the actions associated with the condition that appears first in the event line will occur first.

    The Normal conditions include the following:

    Comparison conditions
    Special conditions
    Object movement, animation, and direction conditions
    Sound and music conditions
    Storyboard Control object conditions
    Create New Objects object conditions
    Question & Answer object conditions
    Counter object conditions
    External conditions
    Multimedia Fusion 2 starts at the first event and moves down through the conditions within that event. If a condition affects several objects, each object is tested in turn. When Multimedia Fusion 2 reaches the last event, it repeats the tests from the beginning, starting a new event cycle.
    [/spoiler]

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Can two or more fastloop condition on same event?

    But you CAN do
    Start of frame: Run Loop A
    On Loop A: Run Loop B
    On Loop B: Do Stuff with ( Loopindex(Loop A), Loopindex(Loop B) )

    And that will get what you might be wanting.
    Working as fast as I can on Fusion 3

Similar Threads

  1. Bad Event of the condition
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th February 2013, 10:26 AM
  2. Possible Bug In Fastloop Event Order
    By Docilemouse in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 20th December 2011, 08:53 PM
  3. Fastloop to apply actions to all objects created by an event.
    By Crash86 in forum Multimedia Fusion 2 - Technical Support
    Replies: 20
    Last Post: 22nd November 2011, 01:46 PM
  4. How would you trigger an event after a fastloop?
    By BREK in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th April 2009, 11:57 AM
  5. Fastloop + Only one action when event loops
    By Sphax in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 12th August 2006, 07:20 PM

Posting Permissions

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