41 player.IncreaseHealingsCount();
47 player.DecreaseHealingsCount();
49 if(player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_WOUND_INFECTION1))
51 player.m_AgentPool.AddAgent(
eAgents.WOUND_AGENT, -10000);
72 if(player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_WOUND_INFECTION2))
protected int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
bool m_TrackActivatedTime
void DisableActivateCheck()
float m_TickIntervalActive
float m_TickIntervalInactive
const int DEFAULT_TICK_TIME_INACTIVE
const int DEFAULT_TICK_TIME_ACTIVE
PluginBase GetPlugin(typename plugin_type)
override bool DeactivateCondition(PlayerBase player)
override void OnReconnect(PlayerBase player)
override void OnActivate(PlayerBase player)
override string GetDebugText()
override string GetDebugTextSimple()
override void OnTick(PlayerBase player, float deltaT)
float m_WoundAgentInvasibility
override bool ActivateCondition(PlayerBase player)
override void OnDeactivate(PlayerBase player)
PluginTransmissionAgents m_PluginTransmissionAgents
static proto string ToString(void var, bool type=false, bool name=false, bool quotes=true)
Return string representation of variable.
class HumanMovementState OnActivate()
HumanCommandScript fully scriptable command.