User Tag List

Results 1 to 4 of 4

Thread: How To Make AI shoot?

  1. #1
    No Products Registered

    Join Date
    Dec 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How To Make AI shoot?

    Hi.I want to make a stationary character I have shoot at my player about every one or two seconds. If this laser hits I would like the frame to restart. Any suggestions would be greatly appreciated.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's Sketchy's example on 360 degree shooting. It includes an AI example.
    360DegreeShooting.mfa

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Here's a simple way of doing it;

    I usually have a make an alterable value like;

    Alterable Value A < 60: Add 1 to Alterable Value A
    Alterable Value A > 60: Shoot and Set Alterable Value A to 0

    Why 60? Fusion has a cap to 60 FPS per default so when Fusion reaches 60 frames a second has passed. I would also name the value something like "FireRate" so it's easier to remember what it's for.

  4. #4
    No Products Registered

    Join Date
    Dec 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it possible to do a quick example? its quite hard to understand sorry

Similar Threads

  1. how to make AI shoot?
    By HarryM in forum Fusion 2.5
    Replies: 4
    Last Post: 9th December 2015, 03:50 PM
  2. How to make a rotating cannon shoot?
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th April 2010, 12:45 PM
  3. How do I make this smiley shoot in right way?
    By FlinkGigitty in forum File Archive
    Replies: 1
    Last Post: 4th February 2010, 09:20 PM
  4. How can I make my character shoot?
    By Davidddd in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 21st April 2008, 03:12 AM
  5. How do I make the character shoot
    By cosmicco in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 23rd October 2007, 10:45 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
  •