3 const float FX_RANGE_MAX_MULT = 1.0;
38 if (!parent || !parent.IsFireplace())
ExplosiveLight m_Light
light
void SetParticleExplosion(int particle)
void SetAmmoType(string pAmmoType)
class JsonUndergroundAreaTriggerData GetPosition
static proto bool RaycastRVProxy(notnull RaycastRVParams in, out notnull array< ref RaycastRVResult > results, array< Object > excluded=null)
void SetFuseDelay(float delay)
void SetGrenadeType(EGrenadeType type)
override void CreateLight()
override void OnExplosionEffects(Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType)
static const int GRENADE_M84
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
proto native CGame GetGame()
static proto float SqrFloat(float f)
Returns squared value.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.