class EffectAreaSource
EffectArea › House › BuildingBase › Building › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
All members, including inherited
Constructors 2
void EffectArea()void ~EffectArea()Constants 1
Members 27
string m_Name = "Default setup"The user defined name of the area
int m_Type = eZoneType.STATICIf the zone is static or dynamic
vector m_PositionWorld position of area snapped to ground on creation (see: EffectAreaLoader)
vector m_PositionTriggerWorld position adjusted according to trigger pivot (pivot is cylinder center)
int m_EffectIntervalIf non persisent effect: determines intervals between effect activation
int m_EffectDurationIf non persisent effect: determines duration of effect
bool m_EffectModifierFlag for modification of internal behavior of the effect
float m_Radius = 100Radius of the Contaminated Area
float m_PositiveHeight = 25Distance between center and maximum height
Show 2 more
, SetupZoneData(), and SpawnParticles()float m_NegativeHeight = 10Distance between center and minimum height
Show 2 more
, SetupZoneData(), and SpawnParticles()int m_InnerRings = 1The amount of inner rings one wants
int m_InnerSpacing = 35Distance between two particles placed on inner rings of the area
Show 1 more
, SpookyArea.InitZoneClient()bool m_OuterRingToggle = trueAllow disabling outer ring if undesired
int m_OuterRingOffset = -5Distance between the outermost ring of particles and area radius
Show 1 more
, SpookyArea.InitZoneClient()int m_OuterSpacing = 20Distance between two particles placed on the outer most ring of the area
int m_VerticalLayers = 0Used to add multiple layers vertically and set vertical spacing ( 0 don't do anything )
int m_VerticalOffset = 10Used to determine vertical offset between two vertical layers
int m_ParticleID = ParticleList.CONTAMINATED_AREA_GAS_BIGASSShow 1 more
, SpookyArea.InitZoneClient()int m_AroundParticleID = ParticleList.CONTAMINATED_AREA_GAS_AROUNDShow 1 more
, SetupZoneData()int m_TinyParticleID = ParticleList.CONTAMINATED_AREA_GAS_TINYShow 1 more
, SetupZoneData()string m_PPERequesterTypeint m_PPERequesterIdx = -1int m_EffectsPriorityWhen multiple areas overlap, only the area with the highest priority will play its effects
string m_TriggerType = "ContaminatedTrigger"The trigger class used by this zone
EffectTrigger m_TriggerThe trigger used to determine if player is inside toxic area
All static toxic clouds in ContaminatedArea
protected ref array<Shape> m_DebugTargets = new array<Shape>()DIAG_DEVELOPEREFFECT_AREA_VISUAL_DEBUGMethods 21
void SetupZoneData(EffectAreaParams params)Show 39 more
, m_AroundParticleID, m_EffectDuration, m_EffectInterval, m_EffectModifier, m_InnerRings, m_InnerSpacing, m_Name, m_NegativeHeight, m_OuterRingOffset, m_OuterRingToggle, m_OuterSpacing, EffectAreaParams.m_ParamAroundPartId, EffectAreaParams.m_ParamEffectDuration, EffectAreaParams.m_ParamEffectInterval, EffectAreaParams.m_ParamEffectModifier, EffectAreaParams.m_ParamInnerRings, EffectAreaParams.m_ParamInnerSpace, EffectAreaParams.m_ParamName, EffectAreaParams.m_ParamNegHeight, EffectAreaParams.m_ParamOuterOffset, EffectAreaParams.m_ParamOuterSpace, EffectAreaParams.m_ParamOuterToggle, EffectAreaParams.m_ParamPartId, EffectAreaParams.m_ParamPosHeight, EffectAreaParams.m_ParamPpeRequesterType, EffectAreaParams.m_ParamRadius, EffectAreaParams.m_ParamTinyPartId, EffectAreaParams.m_ParamTriggerType, EffectAreaParams.m_ParamVerticalOffset, EffectAreaParams.m_ParamVertLayers, m_ParticleID, m_PositiveHeight, m_PPERequesterIdx, m_PPERequesterType, m_Radius, m_TinyParticleID, m_TriggerType, m_VerticalLayers, and m_VerticalOffsetoverride void OnCEUpdate()void InitZone()Show 6 more
, CGame.IsDedicatedServer(), CGame.IsServer(), m_NegativeHeight, m_Position, m_PositionTrigger, and m_PositiveHeightvoid InitZoneServer()void InitZoneClient()override bool DisableVicinityIcon()void PlaceParticles(vector pos, float radius, int nbRings, int innerSpacing, bool outerToggle, int outerSpacing, int outerOffset, int partId)void FillWithParticles(vector pos, float areaRadius, float outwardsBleed, float partSize, int partId)Show 5 more
, InsertParticles(), new ParticlePropertiesArray(), Math.Sin(), SpawnParticles(), and Math.PI2protected void SpawnParticles(ParticlePropertiesArray props, vector centerPos, vector partPos, inout int count)private void InsertParticles(ParticlePropertiesArray props, int count, int partId)void OnParticleAllocation(ParticleManager pm, array<ParticleSource> particles)Show 19 more
, CGame.CreateObjectEx(), Debug.DrawCylinder(), Debug.DrawSphere(), EffectTrigger.Init(), array.Insert(), Class.IsInherited(), ScriptedEntity.SetCollisionCylinderTwoWay(), EffectTrigger.SetLocalEffects(), Object.SetPosition(), IEntity.Update(), m_AroundParticleID, m_DebugTargets, m_EffectsPriority, m_NegativeHeight, m_PositiveHeight, m_PPERequesterIdx, m_TinyParticleID, m_Trigger, and m_TriggerTypeoverride void EEDelete(EntityAI parent)bottom limit
Show 4 more
, CGame.ObjectDelete(), Particle.Stop(), m_ToxicClouds, and m_Triggervoid OnPlayerEnterServer(PlayerBase player, EffectTrigger trigger)void OnPlayerExitServer(PlayerBase player, EffectTrigger trigger)