User Tag List

Results 1 to 5 of 5

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 was wondering if anybody could tell me how I make an AI character I have set up with the path movement shoot something like a laser beam, ideally this should take a life away from my player controlled character if it hits. Thanks in advance.

  2. #2
    Clicker 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)
    Robeez's Avatar
    Join Date
    Dec 2014
    Location
    Netherlands
    Posts
    185
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You probably want to create 2 Active Objects.
    - Active Object (detector).
    - Active Object (laser).

    Set both to Bouncing Ball with all the initial directions removed.

    The detector will let the AI know if the player is within range/view in which the AI will fire a laser.

    Next, go to the event editor.
    Example:

    Condition:
    Every 0.25 seconds.

    Action:
    Create an Active Object (detector).
    Set direction to same direction of the AI character.

    Condition:
    If Active Object (detector) collides with Player.

    Action:
    Destroy Active Object (detector).
    Let AI look in the direction of Player.
    Create Active Object (laser).
    Set direction Active Object (laser) in the same direction as the AI is facing.

  3. #3
    Clicker 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)
    Robeez's Avatar
    Join Date
    Dec 2014
    Location
    Netherlands
    Posts
    185
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is too easy

  5. #5
    No Products Registered

    Join Date
    Dec 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks it works great!

Similar Threads

  1. How to make shoot-effect in MMF2!!!!! PLEASE HELP!!!!! ;D
    By Sphotof in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 11th November 2012, 12:26 AM
  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
  •