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

◆ ProcessNoiseComponents()

int ProcessNoiseComponents ( )
protected

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

220 {
221 float noise = 0;
222 float reduction = 0;
223 if (m_pPlayer)
224 {
226 noise = Math.Round(noise * NOISE_LEVEL_MAX);
227 }
228
230 }
const int NOISE_LEVEL_MAX
Определения PluginPresenceNotifier.c:86
const int NOISE_LEVEL_MIN
noise limits
Определения PluginPresenceNotifier.c:85
Определения EnMath.c:7
static float GetNoiseMultiplier(DayZPlayerImplement playerImplement)
Определения SensesAIEvaluate.c:5
static float GetNoiseReduction(Weather weather)
Определения SensesAIEvaluate.c:18
DayZPlayer m_pPlayer
data
Определения dayzplayer.c:135
proto native CGame GetGame()
static proto float Round(float f)
Returns mathematical round of value.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.

Перекрестные ссылки Math::Clamp(), GetGame(), NoiseAIEvaluate::GetNoiseMultiplier(), NoiseAIEvaluate::GetNoiseReduction(), m_pPlayer, NOISE_LEVEL_MAX, NOISE_LEVEL_MIN и Math::Round().

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