User Tag List

Results 1 to 3 of 3

Thread: Checking for number of flags active

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Vilhjalmr's Avatar
    Join Date
    Mar 2014
    Location
    Sweden
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Checking for number of flags active

    Is it possible to loop forEach on a group of objects to find the total number of a certain flag active in the group at any given time?
    For example 10 objects out of 15 have flag 1 active right now.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS 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)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,363
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Sure!

    * always
    - counter: set value to 0

    * Object: flag 1 is on
    - Object: run foreach 'flag1 is on'

    * Object: On foreach 'flag 1 is on'
    - counter: add 1

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Vilhjalmr's Avatar
    Join Date
    Mar 2014
    Location
    Sweden
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tack ska du ha!

Similar Threads

  1. clarification about number of flags
    By Volnaiskra in forum Fusion 2.5
    Replies: 4
    Last Post: 7th April 2020, 09:37 AM
  2. Number of flags
    By wpd in forum Fusion 2.5
    Replies: 2
    Last Post: 14th August 2019, 12:52 PM
  3. Question about maximum number of flags.
    By render8 in forum Fusion 2.5
    Replies: 11
    Last Post: 2nd June 2016, 01:30 PM
  4. FlagPacker Widget (store up to 29 flags in a single number)
    By SoftWarewolf in forum Guides, Tutorials, Examples, Widgets
    Replies: 1
    Last Post: 14th July 2015, 09:06 AM
  5. Named Flags for Active Objects?
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd May 2007, 08:59 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
  •