9 m_EffectsPriority = -10;
15 params.m_ParamInnerRings = 0;
16 params.m_ParamPosHeight = 3;
17 params.m_ParamNegHeight = 3;
18 params.m_ParamRadius = 10;
19 params.m_ParamOuterToggle =
false;
20 params.m_ParamTriggerType =
"ContaminatedTrigger_Local";
22 params.m_ParamAroundPartId = 0;
23 params.m_ParamTinyPartId = 0;
25 super.SetupZoneData(params);
51 if (!
Math.
IsInRange(partPos[1], centerPos[1] - m_NegativeHeight, centerPos[1] + m_PositiveHeight))
52 partPos[1] = centerPos[1];
54 props.Insert(ParticleProperties(partPos, ParticlePropertiesFlags.PLAY_ON_CREATION, null,
GetGame().GetSurfaceOrientation( partPos[0], partPos[2] ),
this));
void ContaminatedArea_DynamicBase()
proto native float SurfaceRoadY(float x, float z, RoadSurfaceDetection rsd=RoadSurfaceDetection.LEGACY)
override void SetupZoneData(EffectAreaParams params)
override void DeferredInit()
override void SpawnParticles(ParticlePropertiesArray props, vector centerPos, vector partPos, inout int count)
override float GetRemainingTime()
void ContaminatedArea_Local()
override float GetFinishDecayLifetime()
override float GetStartDecayLifetime()
static const int CONTAMINATED_AREA_GAS_AROUND
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()
static proto bool IsInRange(float v, float min, float max)
Returns if value is between min and max (inclusive)