To set the gun at the players positions is quite easy vec_set(gun.x, player.x).
But what I'd like to do is attach it in a way I am not just looking into the weapon.
I could use
Code:
entity eGun
{
type="gun1.mdl";
view=camera;
....
}
That would be easy but how can I get a vertex....? (if this is possible, but I dont think so

)
I think better is to create the weapon with ent_create.
Here's the problem:
I cant figure out how to make it follow the player/camera that it looks like i would do it with entity eGun......

Anyone here has an idea?
thx nipx