User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: Is it possible to select the nearest active object?

  1. #11
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It's is a value that allows me thoroughly select an object to calculate distance and change direction of object.

  2. #12
    No Products Registered

    Join Date
    Jan 2016
    Location
    Adelaide
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For some reason it's not looping through all the objects I've placed.
    I've finally wrapped my head around the way that ColdFire was doing it, and it's very effective; however, in my scenario the loop goes through once and doesn't repeat for more than one Object ID.

  3. #13
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    In file that you send me you forgot to select object via id in event 45(You need to pick object before check distance betwen group of objects) also you made simple mistakes in 44 and 47 line. Check yours mailbox

    Also rest of your code can break it via run for each in always event... You can't lose pointer to objects so you need to understand how CF select objects and how for each work in my example I just use normal loop because it don't break order like for each do.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Can't select (dublicated) ACTIVE
    By Nuwanda in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th July 2014, 07:01 PM
  2. select active to a list?
    By DJ_Wild in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th July 2011, 08:09 PM
  3. Going to object that is nearest?
    By Solgryn in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th July 2009, 08:24 PM
  4. [Request]Select Object - Select in events?
    By LB in forum Extension Development
    Replies: 1
    Last Post: 15th July 2009, 10:55 PM
  5. finding nearest object?
    By Clicktastic in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 6th February 2007, 08:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •