to create rocket write in player action:
if("your_key" ==1){you = ent_create("rocket.mdl",my.x,rocket_fun);}
function rocket_fun
{
my.passable = on; //to avoid colision with ship
my.pan = you.pan; my.tilt = you.tilt;
while(me)
{
c_move(me, bla bal bla); //read help
//then... if hit something or distance (my.x, player.x)> something or... whatever YOu want to
ent_remove(me);
wait(1);
}
}