User Tag List

Results 1 to 6 of 6

Thread: Shooting and tracking with a mouse

  1. #1
    No Products Registered

    Join Date
    Jun 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shooting and tracking with a mouse

    I'm having some problems getting the shoot action functioning properly with single mouse clicks.

    When I use the "While the user holds the mouse button" condition, I can get a continuous stream. When I use the "When the user clicks" condition, I can't get a single shoot action to occur. This is not a problem when I use keyboard inputs.

    Additionally, can anyone comment on the magic required to have a shoot command continuously track a moving mouse cursor? I can get a continous shot tracking a static object, but it's not the desired outcome.

    Many thanks,
    -Matt Zulawski

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shooting and tracking with a mouse

    I'm having some problems getting the shoot action functioning properly with single mouse clicks.

    When I use the "While the user holds the mouse button" condition, I can get a continuous stream. When I use the "When the user clicks" condition, I can't get a single shoot action to occur. This is not a problem when I use keyboard inputs.

    Additionally, can anyone comment on the magic required to have a shoot command continuously track a moving mouse cursor? I can get a continous shot tracking a static object, but it's not the desired outcome.

    Many thanks,
    -Matt Zulawski

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting and tracking with a mouse

    Never mind about the mouse tracking; I think it's just a matter of me figuring out how MMF handles objects.

    Still confused about the single click shot.

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting and tracking with a mouse

    Never mind about the mouse tracking; I think it's just a matter of me figuring out how MMF handles objects.

    Still confused about the single click shot.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting and tracking with a mouse

    It seems you are using the mouse control movement.
    If you want to use that, make sure you test for joystick/firebutton 1 instead of the mouse button.

    But in most situations it is best to have the movement set to static and add this event:
    Always: set Xpos of object to XMouse and set Ypos of object to YMouse.

    This way you can use the mouse commands as normal.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting and tracking with a mouse

    It seems you are using the mouse control movement.
    If you want to use that, make sure you test for joystick/firebutton 1 instead of the mouse button.

    But in most situations it is best to have the movement set to static and add this event:
    Always: set Xpos of object to XMouse and set Ypos of object to YMouse.

    This way you can use the mouse commands as normal.

Similar Threads

  1. Built 251 Mouse button (shooting) doesn't work
    By Evilized79 in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 17th February 2011, 05:38 PM
  2. Tracking help
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 14th October 2009, 09:58 PM
  3. shooting at a mouse object with left click
    By vincent in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 21st June 2009, 04:24 AM
  4. Shooting something in the direction of the mouse?
    By Root in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st May 2009, 10:12 PM
  5. Help With Mouse Clicking In Game and shooting
    By IIMikII in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 24th October 2008, 05:41 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
  •