43 if (!
player.m_Environment.IsTemperatureSet())
const int BREATH_VAPOUR_LEVEL_MAX
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
bool m_TrackActivatedTime
void DisableDeactivateCheck()
float m_TickIntervalActive
float m_TickIntervalInactive
const int DEFAULT_TICK_TIME_INACTIVE
override void OnReconnect(PlayerBase player)
override bool DeactivateCondition(PlayerBase player)
override string GetDebugText()
override string GetDebugTextSimple()
override bool ActivateCondition(PlayerBase player)
override void OnTick(PlayerBase player, float deltaT)
static const float BREATH_VAPOUR_THRESHOLD_LOW
static const float BREATH_VAPOUR_THRESHOLD_HIGH
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
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'.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...