44 player.IncreaseDiseaseCount();
54 player.DecreaseDiseaseCount();
59 int agent_max = PluginTransmissionAgents.GetAgentMaxCount(
eAgents.FOOD_POISON);
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
bool m_TrackActivatedTime
float m_TickIntervalActive
float m_TickIntervalInactive
const int DEFAULT_TICK_TIME_INACTIVE
const int DEFAULT_TICK_TIME_ACTIVE
Input value between 0 and 1, returns value adjusted by easing, no automatic clamping of input(do your...
static float EaseInCirc(float t)
override string GetDebugText()
override void OnTick(PlayerBase player, float deltaT)
override void OnDeactivate(PlayerBase player)
static const int VOMIT_OCCURRENCES_PER_HOUR_MIN
static const int WATER_DRAIN_FROM_VOMIT
override bool DeactivateCondition(PlayerBase player)
static const int VOMIT_OCCURRENCES_PER_HOUR_MAX
override void OnActivate(PlayerBase player)
static const int AGENT_THRESHOLD_DEACTIVATE
override bool ActivateCondition(PlayerBase player)
static const int ENERGY_DRAIN_FROM_VOMIT
override void OnReconnect(PlayerBase player)
static const int AGENT_THRESHOLD_ACTIVATE
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
class HumanMovementState OnActivate()
HumanCommandScript fully scriptable command.