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

◆ OnActivate()

void OnActivate ( PlayerBase player)
protected

is called when an inactive modifier gets activated during gameplay, is NOT called on activation upon player server connection(see OnReconnect)

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

204 {
205 super.OnActivate(player);
206
207 player.GetSymptomManager().QueueUpSecondarySymptom(SymptomIDs.SYMPTOM_DEAFNESS_COMPLETE);
208 player.GetSymptomManager().QueueUpSecondarySymptom(SymptomIDs.SYMPTOM_HMP_SEVERE);
209 }

Перекрестные ссылки m_NextEvent, HeavyMetalMdfr::OnActivate(), PAIN_EVENT_INTERVAL_MAX, PAIN_EVENT_INTERVAL_MIN и Math::RandomFloatInclusive().