User Tag List

Results 1 to 6 of 6

Thread: MMF2 is not count not exist objects that have specific value

  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)

    Question MMF2 is not count not exist objects that have specific value

    Thanks Sarah for this thread.
    http://community.clickteam.com/showthread.php?t=72522&p=535596&viewfull=1#post535 596

    MMF2 is not count to 0 even if not exists the object that have specific value.
    Is this normal or the Select Object extension bug?

    http://prester.org/mmf2/cgi/w2box/da..._not_exist.mfa
    Note: needs the Select Object.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not entirely sure what you mean. Are you saying the Counter is never set to 0 once all the objects have 1+ for an alterable value? That's simply because your "Set Counter" action requires that a member of Group.Enemies has an alterable value of 0. As soon as none of them have an alterable value of 0, the condition will be false, and the action won't run.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    He's from Japan, so of course he isn't going to have an easy time speaking/writing English. However, I've seen ASD's previous posts, and he's generally quite good at writing in English. Anyway, I can't understand it either. Maybe when he's back online he will be able to re-explain.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Of the 3 Actives, 2 are clones, then one is a duplicate. Based on the code, it looks like you wanted all 3 to be duplicates of the same object, but you have a clone.

  5. #5
    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)
    Quote Originally Posted by Jaffob View Post
    I'm not entirely sure what you mean. Are you saying the Counter is never set to 0 once all the objects have 1+ for an alterable value? That's simply because your "Set Counter" action requires that a member of Group.Enemies has an alterable value of 0. As soon as none of them have an alterable value of 0, the condition will be false, and the action won't run.
    Yes you're right. The counter of counting number of objects it have alterable value 0 won't change to 0 even if all objects alterable value have +1.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Think about how that action is working. You have:

    Alterable Value == 0 -> Set Counter to the number of actives

    When there is not an instance of an Active with and Alterable Value of 0, that condition is false, and the action never happens. The action only happens when the number is greater than 0, which means you just need:
    Always -> Set counter to 0 before you set it to the number of actives.

    EDIT: This is exactly what Jaffob said....oh well.

Similar Threads

  1. Detect not exist the object that have specific value
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 3rd August 2012, 10:45 AM
  2. Count of objects where Alterable Value = n
    By Keith in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th December 2011, 10:24 PM
  3. MMF2 is looking for files that no longer exist....
    By MikeB in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 7th January 2009, 11:30 AM
  4. looking for way to count objects
    By piki in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 25th June 2008, 02:28 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
  •