User Tag List

Results 1 to 3 of 3

Thread: check for end of "for each loop"

  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)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    119
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    check for end of "for each loop"

    Ok. Simple situation with classic Loop :

    ==============
    On group activation
    Start loop 10 times

    On loop do something

    Where loop index = 10
    deactivate group

    ========

    How to do this with For each loop ? I need to deactivate my group , but i dont know how

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Compare two general values:

    ForEachLoopIndex( "Active" ) +1 = NObjects( "Active" )


    Assuming the ForEach loop index starts with a 0 based index like the normal fast loops, you'll have to add 1 to make it equal the total number of objects.

  3. #3
    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)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    119
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Greate !
    Thank you !

Similar Threads

  1. Replies: 19
    Last Post: 9th July 2018, 04:38 AM
  2. Replies: 6
    Last Post: 18th August 2015, 03:23 AM
  3. How to check if FGL's "Show Sponsor Branding" is checked or not?
    By ecoste in forum HTML5 Export Module 2.5
    Replies: 0
    Last Post: 16th January 2015, 05:44 PM
  4. How to check "line of sight"? If object blocked?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 7th July 2010, 09:22 AM
  5. Start loop "loop" 'Alterable Value A' times
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 9th May 2009, 08: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
  •