User Tag List

Results 1 to 10 of 10

Thread: Finding A Alterable Value From A Collision

  1. #1
    No Products Registered

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

    Finding A Alterable Value From A Collision

    Hi,

    I need a way to find out the "id" of the object that was collided with, is there anyway to do that?

    -Thanks, Variant

  2. #2
    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: Finding A Alterable Value From A Collision

    Two different objects? Or same object?

  3. #3
    No Products Registered

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

    Re: Finding A Alterable Value From A Collision

    The same one, that's why it's so confusing.

    -Thanks, Variant

  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: Finding A Alterable Value From A Collision

    You're probably going to need a detector on one of the objects at least. Otherwise it will be impossible to determine which object's id you are retrieving.

  5. #5
    No Products Registered

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

    Re: Finding A Alterable Value From A Collision

    How exactly would I do that?

    -Thanks, Variant

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Finding A Alterable Value From A Collision

    You might be able to use a qualifier to differentiate between the two objects in the collision. In other words, you could give your object the qualifier "Group.0" and then do the event like this:

    "My Object" overlapping "Group.0"
    -->Do something with Alterable Value A of Group.0


    I think that'll work. I'm not positive.

  7. #7
    No Products Registered

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

    Re: Finding A Alterable Value From A Collision

    I'm not sure I'll see.

    -Thanks, Variant

  8. #8
    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: Finding A Alterable Value From A Collision

    or have a detector and

    * ID of ("Detector") = ID of ("object")
    - Set X position of ("Detector") to X("object")
    - Set Y position of ("Detector") to Y("object")

    and change the collision condition to Detector overlapping object...

    just make sure that the detector has the same id as its object and that it isn't overlapping the object

  9. #9
    No Products Registered

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

    Re: Finding A Alterable Value From A Collision

    Quote Originally Posted by RickyRombo
    or have a detector and

    * ID of ("Detector") = ID of ("object")
    - Set X position of ("Detector") to X("object")
    - Set Y position of ("Detector") to Y("object")

    and change the collision condition to Detector overlapping object...

    just make sure that the detector has the same id as its object and that it isn't overlapping the object
    That works nicely, thanks!

    -Variant

  10. #10
    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: Finding A Alterable Value From A Collision

    No problem! Glad it worked

Similar Threads

  1. Alterable Strings as Alterable Values?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th March 2012, 07:14 PM
  2. Finding alterable values....
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th December 2006, 09:19 AM
  3. Alterable Strings and Alterable Values limit :(
    By Pedro Almeida in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th October 2006, 06:38 AM
  4. Alterable Value and Alterable String conflict
    By Patrick in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th September 2006, 02:51 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
  •