mirror of
				https://github.com/ineedbots/t4_bot_warfare.git
				synced 2025-11-04 01:27:09 +00:00 
			
		
		
		
	aim better
This commit is contained in:
		@@ -669,9 +669,19 @@ WeaponIsFullAuto( weap )
 | 
			
		||||
*/
 | 
			
		||||
GetEyeHeight()
 | 
			
		||||
{
 | 
			
		||||
	myEye = self GetEyePos();
 | 
			
		||||
	stance = self GetStance();
 | 
			
		||||
 | 
			
		||||
	return myEye[2] - self.origin[2];
 | 
			
		||||
	if ( self inLastStand() || stance == "prone" )
 | 
			
		||||
	{
 | 
			
		||||
		return 11;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if ( stance == "crouch" )
 | 
			
		||||
	{
 | 
			
		||||
		return 40;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return 60;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
@@ -679,7 +689,7 @@ GetEyeHeight()
 | 
			
		||||
*/
 | 
			
		||||
GetEyePos()
 | 
			
		||||
{
 | 
			
		||||
	return self getTagOrigin( "tag_eye" );
 | 
			
		||||
	return self.origin + ( 0, 0, self GetEyeHeight() );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user