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

◆ GenerateAINoiseAtPositionEx()

static void GenerateAINoiseAtPositionEx ( notnull Object source,
float lifeTime,
NoiseParams noiseParams )
staticprotected

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

1887 {
1888 if (g_Game.IsServer())
1889 {
1890 NoiseSystem noise = g_Game.GetNoiseSystem();
1891 if (noise)
1892 {
1893 noise.AddNoiseTarget(source.GetPosition(), lifeTime, noiseParams);
1894 }
1895 }
1896 }
DayZGame g_Game
Определения DayZGame.c:4074
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 и NoiseParams().