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

◆ GenerateAINoiseAtPosition()

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

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

1748 {
1749 if (GetGame().IsServer())
1750 {
1752 if (noise)
1753 {
1754 noise.AddNoiseTarget(position, lifeTime, noiseParams, NoiseAIEvaluate.GetNoiseReduction(GetGame().GetWeather()));
1755 }
1756 }
1757 }
proto native NoiseSystem GetNoiseSystem()
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
proto native CGame GetGame()

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