22 super.OnTriggerCreated();
49 super.OnStayFinishServerEvent();
121 Error(
string.Format(
"[WARNING] :: [%1] :: [AreaDamageComponentRaycasted] :: No proper HitZone found for damaging %2, using fallback.",
Newer implementation equivalent of "AreaDamageRegularRaycasted", hitzone selection only.
void SetRaycastLength(float length)
AreaDamageComponentData GetAreaDamageComponentData(Object object)
override void OnTriggerCreated()
override void OnStayFinishServerEvent()
string GetFallbackHitZone(Object victim)
void SetRaycastSourcesVector(array< vector > raycast_sources)
ref array< vector > m_RaycastSources
void AreaDamageComponentRaycasted(AreaDamageManager parent)
ref array< ref RaycastRVResult > m_RaycastCache
vector m_RaycastEndOffset
void SetRaycastSources(array< string > raycast_sources)
string GetRaycastedHitZone(Object victim)
static proto bool RaycastRVProxy(notnull RaycastRVParams in, out notnull array< ref RaycastRVResult > results, array< Object > excluded=null)
void Error(string err)
Messagebox with error message.
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].