DayZ 1.24
Loading...
Searching...
No Matches
Hit_Foliage Class Reference
Inheritance diagram for Hit_Foliage:
[legend]
Collaboration diagram for Hit_Foliage:
[legend]

Private Member Functions

void Hit_Foliage ()
 
override float CalculateStoppingForce (float in_speedf, float out_speedf, string ammoType, float weight)
 

Detailed Description

Definition at line 1 of file Hit_Foliage.c.

Constructor & Destructor Documentation

◆ Hit_Foliage()

Member Function Documentation

◆ CalculateStoppingForce()

override float Hit_Foliage::CalculateStoppingForce ( float in_speedf,
float out_speedf,
string ammoType,
float weight )
inlineprivate

Definition at line 10 of file Hit_Foliage.c.

11 {
12 if (m_ImpactType == ImpactTypes.MELEE)
13 return 500;
14
16
18
19 return stopping_force;
20 }
ImpactTypes
static float DEFAULT_PROJECTILE_WEIGHT

References EffBulletImpactBase::DEFAULT_PROJECTILE_WEIGHT, and EffBulletImpactBase::m_ImpactType.


The documentation for this class was generated from the following file: