05-21-2016, 03:52 AM 
		
	
	
		Hello
I want to rise the frequency with that one shoots arrows with a bow (imagine a machine gun). But if I spawn arrows manually they don't behave like "normal" arrows because the velocity decreases much more. Also, how can I get the arrow-shooting animation of the arrow?
I have to following code in the HOOK_PLAYER_RIGHT_CLICK:
I am trying to solve this for hours, so thanks in advance 
	
	
	
	
	
I want to rise the frequency with that one shoots arrows with a bow (imagine a machine gun). But if I spawn arrows manually they don't behave like "normal" arrows because the velocity decreases much more. Also, how can I get the arrow-shooting animation of the arrow?
I have to following code in the HOOK_PLAYER_RIGHT_CLICK:
Code:
Pos = Player:GetThrowStartPos()
Speed = Player:GetThrowSpeed(30)
Arrow = World:CreateProjectile(Pos.x, Pos.y, Pos.z, cProjectileEntity.pkArrow, Player, nil, Speed)
return trueI am trying to solve this for hours, so thanks in advance
 
	
 

 


