User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Active Selection

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Active Selection

    Hey, it's been awhile since I made a post in this forum. A long while. Really.

    Anyway, I have an issue with object selection. I need to select a certain few Active objects with certain attributes.

    Basically, I need to set the counter to the number of tiles that are both overlapping the yellow thing, and have their Internal Flag 0 on.

    http://mfa.aquadasoft.com/upload/1258189630-sweeptest.mfa

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Selection

    Hi and long time. Have you tried the Select Object Extension by chance?

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Selection

    Yes, and that doesn't work.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Selection

    Try a loop?

    In the detection, have an extra condition (eg internal flag so-and-so is on) and turn it off in the events. That way each one will be detected once

  5. #5
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Selection

    I have tried that. It doesn't work.

  6. #6
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Selection

    Hi,

    I'm new to this, but you might be able to assign each one of those red/blue squares an alterable value and then when the yellow thing overlaps that square change it's alterable value to something else. Then have some kind of counter available, and set it so that whenever an alterable value of a red/blue square is changed to something else you add 1 to the counter. And when the yellow thing isn't overlapping that red/blue square change the alterable value of the red/blue square back to it's original value and subtract 1 from the counter.

    -Variant

  7. #7
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Selection

    You'd think that would work, but it doesn't. It sets them all at once and then only adds one to the counter.

  8. #8
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Selection

    Quote Originally Posted by Jacob
    Quote Originally Posted by nivram
    Hi and long time. Have you tried the Select Object Extension by chance?
    Yes, and that doesn't work.
    Really?

    Make sure your version of the select object is up to date.

  9. #9
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Selection

    Oh. You win. My version was quite outdated.

    Thanks!

  10. #10
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Selection

    Wow, how ironic! I spent like six hours trying to solve that problem and it turns out it was already solved! Helping people is hard.

    -Variant

Page 1 of 2 1 2 LastLast

Similar Threads

  1. RTS Selection Help
    By Sumo in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 23rd September 2012, 12:37 AM
  2. Box selection
    By StardustSpeedman in forum The Games Factory 2 - Technical Support
    Replies: 6
    Last Post: 7th April 2011, 02:55 PM
  3. ASB Selection Box
    By nivram in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd November 2010, 09:04 AM
  4. Active Selection for Jacob
    By Dynasoft in forum File Archive
    Replies: 0
    Last Post: 15th November 2009, 10:06 AM
  5. Selection Widget
    By Novabrain in forum Widgets
    Replies: 0
    Last Post: 2nd December 2007, 11:35 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
  •