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

◆ OnTick()

void OnTick ( PlayerBase player,
float deltaT )
protected

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

63 {
64 m_Time += deltaT;
65
66 if (m_Time >= m_NextEvent)
67 {
68 player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_PAIN_LIGHT);
69 m_Time = 0;
71 }
72 }
float m_NextEvent
Определения WoundInfection.c:21
static const int PAIN_EVENT_INTERVAL_MIN
Определения WoundInfection.c:18
float m_Time
Определения WoundInfection.c:22
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

Перекрестные ссылки Math::Lerp(), m_Exhaustion, m_ExhaustionTimer, m_NextEvent, m_Time, PAIN_EVENT_INTERVAL_MAX, PAIN_EVENT_INTERVAL_MIN, CachedObjectsParams::PARAM1_FLOAT, PlayerStat(), Math::RandomFloat01(), Math::RandomFloatInclusive(), Math::Remap(), SymptomBase::SetParam() и THRESHOLD_ACTIVATE.