3421 {
3422 #ifndef SERVER
3423 if (source)
3424 {
3426 return;
3427 source.OnExplosionEffects(source, directHit, componentIndex, surface, pos, surfNormal, energyFactor, explosionFactor, isWater, ammoType);
3428
3429 if (source.ShootsExplosiveAmmo() )
3430 {
3431 int particleID = AmmoTypesAPI.GetExplosionParticleID(ammoType, surface);
3432 if (particleID > -1)
3433 {
3435 }
3436 }
3437
3438
3441
3443 {
3444 float dist01 = Math.InverseLerp(0,
m_AmmoShakeParams.m_Radius, distance_to_player);
3446
3448 }
3449 }
3450 #endif
3451 }
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
proto native DayZPlayer GetPlayer()
static ref AmmoCamParams m_AmmoShakeParams
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition