User Tag List

Results 1 to 3 of 3

Thread: Need help here with distance calculations.

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Location
    Turku, Finland
    Posts
    1,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help here with distance calculations.

    I thought this would be easy, but no, it's not. Or maybe it is, but I just don't get it. Check the example, it tells everything.
    Attached files Attached files

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help here with distance calculations.

    Ok, all you have to do is modify the conditions that say 'enemy is overlapping range' and change them to 'range is overlapping enemy'.

    Why does that make the difference? Because by doing that, you are narrowing down the selection to the one that you want. By having the enemy one specified first, you aren't narrowing down the list, and so they are shooting at the dominant one, not the one you are checking the collision against.

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Location
    Turku, Finland
    Posts
    1,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help here with distance calculations.

    Makes sense. Thanks, that was a very simple answer.

Similar Threads

  1. Help with calculations!
    By J3sseM in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th July 2013, 12:29 PM
  2. calculations via string
    By Skyhunter in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 26th November 2012, 07:31 PM
  3. mmf 2 is silt! - calculations per second
    By EasySite in forum Multimedia Fusion 2 - Technical Support
    Replies: 24
    Last Post: 7th August 2010, 03:32 AM
  4. Color calculations
    By ruffgang in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th April 2008, 03:52 PM
  5. Calculate Calculations?
    By Looki in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th January 2007, 05:46 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
  •