Jump to content
Sign in to follow this  
UK_SPAWN

Using Get\Set DIR

Recommended Posts

can anyone help me get this to work please :)

Im spawning a hellfire missile, and want it to fire at the CursurTarget, can i do this using Get\setDir?

basically i want a missile to spawn right above your head, and fire towards your target that your looking/pointing at.

Or any other way you can think of that will achieve that.

Any help appreciated.

thanks

i do not want it to be guided in any way BTW.

---------- Post added at 19:55 ---------- Previous post was at 19:33 ----------

if (player distance _target <=250) then {_miss = "M_Hellfire_AT" createVehicle

getPos player,5 setDir Direction _Target};

this is what iv come up with but its not working properly, seems like the missile is firing at the ground in front of me or just right on me... i dunno..

Share this post


Link to post
Share on other sites

solved with help from armaholic community, see there if your looking for this same thing.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×