DayZ 1.28
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)

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

45 {
46 player.IncreaseDiseaseCount();
47 player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_PAIN_LIGHT);
48
50 }
float m_NextEvent
Определения WoundInfection.c:21
static const int PAIN_EVENT_INTERVAL_MIN
Определения WoundInfection.c:18
static const int PAIN_EVENT_INTERVAL_MAX
Определения WoundInfection.c:19
Определения EnMath.c:7
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
Определения EnMath.c:106

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