User Tag List

Results 1 to 8 of 8

Thread: how to make object shooting at player?

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to make object shooting at player?

    the question is on the top

    how do i make an object (enemy craft) to shoot into the player or even in other directions?

    thanks.

  2. #2
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: how to make object shooting at player?

    There is an action in all active objects called "Look in the direction of...". With it you can select your controllable object and when you use the action, your enemy object will look in the direction of the player. At the same time you could use the 'Shoot an Object..." action to make the enemy shoot another active object (a bullet or rocket for example) towards the player.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make object shooting at player?

    ok..i will try this and also, how can you make one object to follow the player or another object?

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Location
    in the milky way galaxy
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make object shooting at player?

    Well you could create an active that is a square, circle, etc.(we'll call this active 2)(i usually use a circle) Make it a fair amount bigger than the active object(the one that has to be followed,name =active 1) and put the hotspot in the middle of both actives.
    then have an event that says

    Always> set active 2 position relative to active 1 at (0,0)

    Then make the active that will do the following (name= active 3) have a ball movement.(adjust the speed to whatever you want and make sure moving at start is checked)
    then have an event that says

    Always> (active 3)look in direction of active one.

    Then have an event that says

    Active 3 is overlapping active 2> active 3 movement stop

    then have another event

    X(the X means negate to negate right click on the event and select negate)Active 3 is overlapping active 2> active 3 movement Start

    Hope that helped In the unfortunate case that it didn't post back that you want an example and i will whip one up for you.

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make object shooting at player?

    i will love to get example if its not too mutch efort mate

    i am preety new to this, but i can see right from the start that it is preety amazing tool (mmf2) and i wish 3d version will come soon

  6. #6
    No Products Registered

    Join Date
    Jun 2006
    Location
    in the milky way galaxy
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make object shooting at player?

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=48921#Post48921

    Here is the example you wanted

  7. #7
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make object shooting at player?

    thanks will make the best from this sample

    on the way i have another two questions:
    1.can i make a search on this forum? (just don't want to open new topics while there are already topics on the same subject)
    if there is a search engine here,then where is he?

    new issue:
    about the mouse, i can use the mouse to move, but can't shoot with the mouse left click and i saw this question here few days ago, but i can't find the topic now so..why can't i shoot with mouse too?

    thanks again and i will say this again: i very apriciate the help on this forum, its fast and usefull

  8. #8
    No Products Registered

    Join Date
    Jun 2006
    Location
    in the milky way galaxy
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to make object shooting at player?

    to search go to the top of the page on a tool bar it should say search

Similar Threads

  1. How to make the player jump?
    By Fizzypop56 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st August 2013, 12:27 AM
  2. How do I make my player swap from two places?
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 14th January 2010, 12:46 PM
  3. player shooting and moving
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th December 2009, 02:25 PM
  4. how to make player pick up gun?
    By doggsox23 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 28th July 2008, 12:36 PM
  5. Want to select a player then make him move.
    By GameDesigner in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th February 2007, 10:00 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
  •