DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnEndServer()

override void ActionOpenFence::OnEndServer ( ActionData action_data)
inlineprivate

См. определение в файле ActionOpenFence.c строка 50

51 {
52 super.OnEndServer(action_data);
53
54 m_NoisePar = new NoiseParams();
55 m_NoisePar.LoadFromPath("CfgVehicles SurvivorBase NoiseActionDefault");
57 if ( noise )
58 {
59 if ( action_data.m_Player )
60 noise.AddNoisePos(action_data.m_Player, action_data.m_Target.GetObject().GetPosition(), m_NoisePar, NoiseAIEvaluate.GetNoiseReduction(GetGame().GetWeather()));
61 }
62 }
void NoiseSystem()
Определения Noise.c:16
class NoiseSystem NoiseParams()
Определения Noise.c:15
ref NoiseParams m_NoisePar
Определения ActionOpenFence.c:3
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()

Перекрестные ссылки ActionData, NoiseSystem::AddNoisePos(), GetGame(), NoiseAIEvaluate::GetNoiseReduction(), CGame::GetNoiseSystem(), m_NoisePar и NoiseParams().