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

◆ OnEndServer()

override void ActionOpenDoors::OnEndServer ( ActionData action_data)
inlineprotected

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

72 {
73 super.OnEndServer(action_data);
74
75 m_NoisePar = new NoiseParams();
76 m_NoisePar.LoadFromPath("CfgVehicles SurvivorBase NoiseActionDefault");
78 if (noise && CreatesNoise())
79 {
80 if (action_data.m_Player)
81 noise.AddNoisePos(action_data.m_Player, action_data.m_Target.GetObject().GetPosition(), m_NoisePar, NoiseAIEvaluate.GetNoiseReduction(GetGame().GetWeather()));
82 }
83 }
void NoiseSystem()
Определения Noise.c:16
class NoiseSystem NoiseParams()
Определения Noise.c:15
bool CreatesNoise()
Определения ActionOpenDoors.c:23
ref NoiseParams m_NoisePar
Определения ActionOpenDoors.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(), CreatesNoise(), GetGame(), NoiseAIEvaluate::GetNoiseReduction(), CGame::GetNoiseSystem(), m_NoisePar и NoiseParams().