User Tag List

Results 1 to 3 of 3

Thread: Collecting 2 of something at once

  1. #1
    Clicker Fusion 2.5

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Collecting 2 of something at once

    I run a loop when you collide with a gun qualifier object.

    The loop goes through each weapon slot (There are 5) to check for an empty space, and if there is one, it copes the gun qualifier object's values to an array. This all works fine, but if you jump ontop of 2 weapons and collide with them both, MMF will destroy them both and add one of them randomly to one slot.

    No, I can't garuntee 2 weapons won't be close to eachother. Yes, I've tried pick qualifier object at random, and run this event once, and all that, and they don't have any effect.

    No, I can't spread an alterable value and check it for this. The system is supposed to be very flexible, I'd have no idea which value to check for.

    The events in question are:

    * On loop "weapon sort"
    * Player is overlapping with gun qualifier object
    * An array check

    The only thing I could think of that would work is pick one at random, but it seems to be broken.

  2. #2
    Clicker Multimedia Fusion 2 Developer
    Hazard's Avatar
    Join Date
    Jun 2006
    Location
    Russia, Moscow
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Collecting 2 of something at once

    Try this:

    Object collides with gun: Add 1 to GunCounter

    GunCounter > 0: Run loop, Subtract 1 from GunCounter

  3. #3
    Clicker Fusion 2.5

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Collecting 2 of something at once

    Sweet, I set a flag on when colliding, then did the identify by alterable value spreading thing, and it seems to have worked. Thanks

Similar Threads

  1. Having trouble collecting posted data from .swf
    By Apex in forum SWF/Flash Export Module Version 2.0
    Replies: 7
    Last Post: 26th February 2011, 02:41 AM
  2. collecting coins (objects) / jump animation
    By catrap in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st July 2010, 05:30 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
  •