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

◆ GenerateAINoiseAtPosition()

static void GenerateAINoiseAtPosition ( vector position,
float lifeTime,
NoiseParams noiseParams )
staticprotected

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

1754 {
1755 if (g_Game.IsServer())
1756 {
1757 NoiseSystem noise = g_Game.GetNoiseSystem();
1758 if (noise)
1759 {
1760 noise.AddNoiseTarget(position, lifeTime, noiseParams, NoiseAIEvaluate.GetNoiseReduction(g_Game.GetWeather()));
1761 }
1762 }
1763 }
DayZGame g_Game
Определения DayZGame.c:3942
static float GetNoiseReduction(Weather weather)
Определения SensesAIEvaluate.c:18
proto void AddNoiseTarget(vector pos, float lifetime, NoiseParams noise_params, float external_strength_multiplier=1.0)
Will make a noise at that position which the AI will "see" for the duration of 'lifetime'.
Определения Noise.c:2

Перекрестные ссылки NoiseSystem::AddNoiseTarget(), g_Game, NoiseAIEvaluate::GetNoiseReduction() и NoiseParams().