User Tag List

Results 1 to 10 of 10

Thread: Brain [censored] : Specific Choose Event

  1. #1
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Brain [censored] : Specific Choose Event

    So i am always spreading values of two object, a & b

    They go in pairs soo 1a/1b 2a/2b, etc If one of the pairs is missing i want the other pair to destroy itself. I have found the pick objects whose alterable values = X, but this choose all objects. I want to be able to choose object a or b.

    Tips on how to acheive goal?
    Also I think i remember doing this once with the Select Object Extenesion sooo..

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Brain [censored] : Specific Choose Event

    When you destroy one of the objects in the pair, you could set the destroyed object's spread value to a counter (before you destroy it) and then use a ForEach/fastloop to check all your other objects and compare their values to the counter. If they match, destroy them as well.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Brain [censored] : Specific Choose Event

    Ok thanks, now i have another problem

    Say i have 3 objects that are not on the ground (not overlapping qualifier a)

    I want to make it so tht all of these objects raise their y position until they hit a qualifer a. These objects are at different heigts so if one of the objects hits the ground, i want all of the ones that havent hit the ground yet to keep on moving until they do.

    So far, i havent gotten anything close to this.


  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Brain [censored] : Specific Choose Event

    That would depend on how you move your objects? Are you using clickteam movements? Or moving them with code that updates their position?

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Brain [censored] : Specific Choose Event

    I move my objects with clickteam movements. If it were possible i would use fastloops but, i get numerous bugs when trying to attempt this. As a result, i just stick with the clickteam movements. I know that if i use fastloops, more things would be customizable (is that a word?). However more bugs come up in me trying to create a fastloop than with the clickteam movements.

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Brain [censored] : Specific Choose Event

    Well, you might want to be prepared for glitchy results if you stick with clickteam movements in this case. The simplest way I can think of would be to use the ForEach object when one of your objects "Is Overlapping Qualifier A". Just use the "Stop command if the object is overlapping. The code would look something like this:

    +Object is overlapping Qualifier A
    -Start ForEach loop "blah"

    +On ForEach loop "blah"
    +If fixed value of object = current loop iteration fixed value
    - Stop (under "movement" actions)

    I haven't tested it, but it should give you an idea on how to proceed.

    Mobichan

  7. #7
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Brain [censored] : Specific Choose Event

    Oh man i didnt even realize that this it extenstion was missing from my extension list. I'll get it and start tinkering with it. I i cant get my desired results then i guess i shall have to use fast loops.

    Should both fail, i shall come back here. Thanks for ze input mobichan

  8. #8
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Brain [censored] : Specific Choose Event

    Ok i've played with the ForEach object, and i have gotten it to work.

    Now the only probrm is this: After it hits the "ground" and moves off of it (no longer overlapping qualifier a which should start the loop all over again) it keeps moving left/right until all instances of the object are no longer overlapping it. It works the first instance (at the start of the frame when all instances are above ground) but it doesnt work the 2nd instance.

    Im soo close to the finish line i can smell the Apple Pie

  9. #9
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Brain [censored] : Specific Choose Event

    It is kind of hard to understand what you are trying to do. You might need to post an example of your file so we can take a look at it.

  10. #10
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Brain [censored] : Specific Choose Event

    View MFA
    I dont quite know why it looks so funny, but all of the key componets should be there.

    The code that i am talking about should be at the end of the group name "Goomba"

Similar Threads

  1. specific animation has played a specific frame?
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 22nd April 2008, 04:34 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
  •