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

◆ CalculateNextEffect()

void DustEffectCeilingHandlerBase::CalculateNextEffect ( string surfaceType,
int particleID )
inlineprotected

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

18 {
19 int rangeMin = RANGE_MIN_DEFAULT;
20 int rangeMax = RANGE_MAX_DEFAULT;
21 DustEffectManager.AdjustCeilingDustEffectFrequency(surfaceType, particleID, rangeMin, rangeMax);
22 m_NextEffectStepIdx = Math.RandomIntInclusive(rangeMin,rangeMax);
23 }
static int RANGE_MIN_DEFAULT
Определения DustEffectCeilingHandler.c:3
static int RANGE_MAX_DEFAULT
Определения DustEffectCeilingHandler.c:4

Перекрестные ссылки DustEffectManager::AdjustCeilingDustEffectFrequency(), m_NextEffectStepIdx, Math::RandomIntInclusive(), RANGE_MAX_DEFAULT и RANGE_MIN_DEFAULT.

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