21 m_AreaDamageType =
null;
27 m_TriggerUpdateMs = 100;
66 if (
GetGame().IsServer() && m_AreaDamageType)
67 m_AreaDamageType.OnEnter(obj);
74 if (
GetGame().IsServer() && m_AreaDamageType)
75 m_AreaDamageType.OnLeave(obj);
82 for (
int n = 0;
n < m_insiders.Count();)
100 m_insiders.Remove(
n);
void AddInsider(Object obj)
Adding of new TriggerInsider.
class JsonUndergroundAreaTriggerData GetPosition
override void SetAreaDamageManager(AreaDamageManager adType)
void UpdateInsiders(int timeout)
override void OnEnter(Object obj)
override void SetExtents(vector mins, vector maxs)
override void EOnTouch(IEntity other, int extra)
void SetAreaDamageType(AreaDamageBase adType)
ref AreaDamageBase m_AreaDamageType
override void OnLeave(Object obj)
Super root of all classes in Enforce script.
The object which is in a trigger and its metadata.
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
EntityEvent
Entity events for event-mask, or throwing event from code.