4 const float DAMAGE_TICK_RATE = 10;
12 super.OnEnterServerEvent(insider);
19 creature.IncreaseEffectTriggerCount();
26 super.OnLeaveServerEvent(insider);
33 creature.DecreaseEffectTriggerCount();
40 super.OnEnterClientEvent(insider);
45 super.OnLeaveClientEvent(insider);
51 m_TimeAccuStay += m_DeltaTime;
52 if (m_TimeAccuStay > DAMAGE_TICK_RATE)
54 m_DealDamageFlag =
true;
65 m_DealDamageFlag =
false;
81 return "ContaminatedArea_SoundSet";
93 RegisterNetSyncVariableInt(
"m_AreaState");
139 super.OnVariablesSynchronized();
142 for (
int i = 0;
i < GetInsiders().Count();
i++)
override void OnVariablesSynchronized()
override void OnStayClientEvent(TriggerInsider insider, float deltaTime)
PPERequester_PainBlur m_PPERequester
void ContaminatedTrigger_Dynamic()
class ContaminatedTrigger extends EffectTrigger m_AreaState
void SetAreaState(int state)
ModifiersManager m_Manager
override string GetAmbientSoundsetName()
do not process rotations !
override string GetAmbientSoundsetName()
override void OnStayFinishServerEvent()
override void OnStayServerEvent(TriggerInsider insider, float deltaTime)
override void OnLeaveServerEvent(TriggerInsider insider)
override void OnEnterClientEvent(TriggerInsider insider)
override void OnStayStartServerEvent(int nrOfInsiders)
override void OnLeaveClientEvent(TriggerInsider insider)
override void OnEnterServerEvent(TriggerInsider insider)
static TriggerEffectManager GetInstance()
The object which is in a trigger and its metadata.
const float AI_CONTAMINATION_DMG_PER_SEC