User Tag List

Results 1 to 6 of 6

Thread: 2 of the same object interacting with each other

  1. #1
    No Products Registered

    Join Date
    May 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    2 of the same object interacting with each other

    Hey, if someone can answer or point me to a relevant thread much thanks; I can't seem to find this anywhere.

    I have an object that is interacting with a copy of itself, and I would like to know if there is some way to specify which of the 2 objects I want the event to apply to, but because there is only one check box underneath it will apply to both.

    For example, let's say the object bumps into a copy of itself, and I want the copy to move a little but the original to be still. Both will move because both are covered by the same column.

    This is probably a newbie question, I just never had to run into this situation before. Thanks in advance.

  2. #2
    Clicker Fusion 2.5Android Export ModuleiOS Export Module
    Fusion 2.5 (Steam)HTML5 Export Module (Steam)

    Join Date
    Nov 2007
    Location
    Canada, BC
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 2 of the same object interacting with each other

    quickly made this up, hope its what you were after

    clones.zip

  3. #3
    No Products Registered

    Join Date
    May 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 2 of the same object interacting with each other

    I added an image to clear this up a bit:



    In the condition those are two different boxes, but the same object. The problem is MMF can't tell which box im referring to in the event, so it moves both boxes 5 pixels down.

    In your example, you have the objects interacting with the blue barrier, but not each other, so it works out fine. I like the idea of using an internal flag, this may help out. I'm trying to think of a way to maybe split the event into two, so that it can have a specific one for each object, using an internal flag check maybe, to say that if one is off to do no movement, if the other is on to run the event.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 2 of the same object interacting with each other

    You can always pick which one to move by it's fixed value, or if you refer to an "ID" alterable value assigned with the "spread value" action. You do know which one of the two actives you want to move anyway, right?

    If you just want to pick one of the two instances at random, just insert a "Pick one of [Object]" condition under the collision checking.

  5. #5
    Clicker Fusion 2.5Android Export ModuleiOS Export Module
    Fusion 2.5 (Steam)HTML5 Export Module (Steam)

    Join Date
    Nov 2007
    Location
    Canada, BC
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 2 of the same object interacting with each other

    changed it to suit your needs

    clones2.zip


  6. #6
    No Products Registered

    Join Date
    May 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 2 of the same object interacting with each other

    I was able to get it to work. Thanks for the help guys.

Similar Threads

  1. dotNet script: interacting with Event editor
    By Hernan in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th March 2015, 05:03 AM
  2. Interacting with a Windows Media Center Remote
    By JL32BiT in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th April 2011, 04:58 AM
  3. Replies: 0
    Last Post: 26th August 2010, 07:25 PM
  4. [Paid Request] Interacting with a guitar
    By Ravenius in forum Extension Development
    Replies: 5
    Last Post: 11th February 2008, 09:04 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
  •