61 {
62 super.OnEndServer(action_data);
63
65 m_NoisePar.LoadFromPath(
"CfgVehicles SurvivorBase NoiseActionDefault");
67 if (noise)
68 {
69 if (action_data.m_Player)
70 noise.
AddNoisePos(action_data.m_Player, action_data.m_Target.GetObject().GetPosition(),
m_NoisePar, NoiseAIEvaluate.GetNoiseReduction(
GetGame().GetWeather()));
71 }
72 }
class NoiseSystem NoiseParams()
ref NoiseParams m_NoisePar
proto native NoiseSystem GetNoiseSystem()
proto void AddNoisePos(EntityAI source_entity, vector pos, NoiseParams noise_params, float external_strenght_multiplier=1.0)
proto native CGame GetGame()