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

◆ GenerateAINoiseAtPosition()

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

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

2074 {
2075 if (GetGame().IsServer())
2076 {
2077 NoiseSystem noise = GetGame().GetNoiseSystem();
2078 if (noise)
2079 {
2080 noise.AddNoiseTarget(position, lifeTime, noiseParams);
2081 }
2082 }
2083 }
vector position
Определения DustKickupEffects.c:20
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
DayZGame GetGame()
Определения gameplay.c:636

Перекрестные ссылки NoiseSystem::AddNoiseTarget(), GetGame(), NoiseParams() и position.