Posted By: sadsack
Befor I jump into the deep waters of collision - 09/01/08 21:01
I need help with a syntex error.
I tryed every way I could think to use this but I have not been able to make it work.
I have a jet plane that as a missle. When you hit a key (let say) key a the missle is created and than move. Seeing that as I turn the plane in all kinds of dir. the missle does not know which dir.to go. I been trying to make point in the dir. of the jet when it is created.
CODE:
This is what I am using(with out any luck) to point the missle in the dir. of the jet plane.
{my.pan == ship1;}
I tryed every way I could think of to make it work.
NEED SOME HELP
Thank You Renny
I tryed every way I could think to use this but I have not been able to make it work.
I have a jet plane that as a missle. When you hit a key (let say) key a the missle is created and than move. Seeing that as I turn the plane in all kinds of dir. the missle does not know which dir.to go. I been trying to make point in the dir. of the jet when it is created.
CODE:
Code:
function create_missile1(){
if(ship1){ //makes sure ship1 exists
ent_create("missile1.mdl", vector(ship1.x, ship1.y, ship1.z-50),act_missile1);
{my.pan == ship1;}
}
}
This is what I am using(with out any luck) to point the missle in the dir. of the jet plane.
{my.pan == ship1;}
I tryed every way I could think of to make it work.
NEED SOME HELP
Thank You Renny
