User Tag List

Results 1 to 3 of 3

Thread: ForEach loop question

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ForEach loop question

    Hi
    Is it possible to run ForEach loop for Object in a special order?
    For example make the loop check the Instances with the Highest Yposition first?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module
    Petedevlin's Avatar
    Join Date
    Jul 2011
    Location
    Salford, UK
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ForEach loop question

    You'd have to first loop to find the object with the highest value, and then instigate the second loop, possibly by way of passing values to a third object such as an array or just another active?

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jul 2014
    Posts
    92
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Is there a more efficient way of doing this? I am trying to use a foreach loop to optimize but I need to run my loop in a custom order.

Similar Threads

  1. How to 'stop' a ForEach loop?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 20th April 2013, 02:27 PM
  2. ForEach loop for Object problem
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 10th April 2013, 11:00 PM
  3. [CRASH] ForEach loop with Groups/Qualifiers (256.31)
    By MJK in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 13th March 2013, 04:42 PM
  4. Want to do same loop with ForEach
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 15th April 2012, 09:48 PM
  5. Game loop: ForEach or FastLoop?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th December 2011, 12:49 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
  •