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.

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.

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.

ok..i will try this and also, how can you make one object to follow the player or another object?
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 helpedIn the unfortunate case that it didn't post back that you want an example and i will whip one up for you.

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![]()
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=48921#Post48921
Here is the example you wanted

thankswill 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 nowso..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![]()
to search go to the top of the page on a tool bar it should say search