User Tag List

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

Thread: Create Object + Object Selection

  1. #1
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Create Object + Object Selection

    I'm finding that if I have a condition that results in more than one of the same type of object being created; the events that follow and apply to those objects are only applied to one of them and not to all the ones created.

    Is this not a bit counter-intuitive?

    How do I make it so that if 10 enemies are created at once all their value-A's (health) are set to 5 for example?

  2. #2
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection

    do it in a fastoop

  3. #3
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection

    I'm still a bit unclear on that. Can someone point me in the right direction to get me started?

  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: Create Object + Object Selection

    There is a fastloop tutorial in the tutorials section (to the right of this website). It is a good place to start if you want to learn about fastloop use.

  5. #5
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection

    Right, I understand how to set one up and what they do - I just don't see how to tie that knowledge into this problem.

    IE.: when to start and stop the fastloop - what events to tie those into.

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleMac Export Module
    dsilvers's Avatar
    Join Date
    Jun 2008
    Location
    Boston, MA
    Posts
    658
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection

    Use the Spread Value function on the actives in a Start of Frame event. Assign it to one of the alterable values. Then just check for the loop being called and the alterable value of the active being equal to the spread value.

    I'm still trying to get this to all work myself (been causing some AI issues) but definitely read the tutorials in the sidebar. They're for MMF 1.5 but the same functions are in the newest version.

  7. #7
    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: Create Object + Object Selection

    Wait if you're making objects and setting values all in one action, why can't you go...

    * Condition
    ---Create object
    ---Set health to 5
    ---Create object
    ---Set health to 5
    .
    .
    .

  8. #8
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection

    Hi Ricky - my problem stems from when you don't know how many objects you're going to be creating.

    For instance if you have a varying number of spacecraft launching missiles or launching other ships, that that each have to have values set (e.g. for health-points)...

    Say if you have "every 1 second: create a missile (or launch a fighter)". If two motherships launch at once then only one of them actually has its fighters created. The other's simply die / explode.

    I'm sure it wasn't like this in previous versions of MMF. It just boggles the mind why they made it this way.

  9. #9
    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: Create Object + Object Selection

    Oh I see...
    Sorry then x)

    Fastloops 'tis... unless you want to sacrifice them all launching at once and pick one at random

  10. #10
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection

    No, no don't apologise.

    I'll have a play on with spreading values. Not too sure what that does to be frank but I'm sure I'll find out.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. How to create a self organized itens selection?
    By Decoamorim in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 17th October 2013, 12:30 AM
  2. [BUG] Create object if flag is off, and assign something to the created object
    By Popcorn in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 24th January 2013, 11:01 PM
  3. Object Selection (Create and Reference)
    By Danny in forum File Archive
    Replies: 10
    Last Post: 26th August 2012, 05:54 PM
  4. Create Object + Object Selection Revisited
    By Crash86 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd February 2011, 04:33 PM
  5. Object selection
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 2nd September 2009, 10:56 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
  •