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

◆ PlayCatchNoise()

void ItemBase::PlayCatchNoise ( YieldItemBase yItem)
inlineprotected

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

640 {
641 string noiseType = yItem.GetCatchAINoise();
642 if (noiseType == "")
643 return;
644
646 m_NoisePar.Load(noiseType);
647 float noiseMultiplier = yItem.GetCatchAINoiseBaseStrength();
648 // weather dampening is now done engine-side
649 g_Game.GetNoiseSystem().AddNoiseTarget(m_PreyPos, 5, m_NoisePar, noiseMultiplier);
650 }
ref NoiseParams m_NoisePar
Определения ActionOpenDoors.c:104
DayZGame g_Game
Определения DayZGame.c:4074
class NoiseSystem NoiseParams()
Определения Noise.c:18
vector m_PreyPos
Определения TrapSpawnBase.c:31
string GetCatchAINoise()
Определения CatchYieldItemBase.c:86
float GetCatchAINoiseBaseStrength()
Определения CatchYieldItemBase.c:91

Перекрестные ссылки g_Game, YieldItemBase::GetCatchAINoise(), YieldItemBase::GetCatchAINoiseBaseStrength(), m_NoisePar, m_PreyPos и NoiseParams().

Используется в PlayCatchEffectsServer().