In the long way to learn CK and scripting, I'm trying to do some projectiles, and I'm now blocked by a lack of knowledge.
I have a sword, and I would like to add it a projectile when it is wielded, like in Zelda with full life, for example. By Papyrus Scripting, because I guess I can't do it without it. And the "object" fired by the sword is a physical object, not an effect.
What are the Papyrus command to get the XYZ angle of sight of the player, in order to apply the projectile the same direction ?
I would then apply a ApplyHavokImpluse, I guess. If not, please light my mind, I want to learn.
I hope I'm clear enough.
Thanks.
EDIT :
I have another question, bind to the other :
If I want my projectile to stay in the target body, like the Ice spell does, how the hell can I do that ?? I found absolutly nothing about it.

