89 : EffectArea
90{
91
92
93
95 {
96
97 if ( !m_ToxicClouds )
99
100 SetSynchDirty();
101
102 #ifdef DEVELOPER
103
105 {
106 Debug.
Log(
"YOU CAN IGNORE THE FOLLOWING DUMP");
107 InitZone();
108 Debug.
Log(
"YOU CAN USE FOLLOWING DATA PROPERLY");
109 }
110 #endif
111
113 InitZone();
114
115 super.EEInit();
116 }
117
119 {
120 super.InitZoneServer();
121
122
123 if ( m_TriggerType != "" )
125 }
126
128 {
129 super.InitZoneClient();
130
131
132 PlaceParticles( GetWorldPosition(),
m_Radius, m_InnerRings, m_InnerSpacing, m_OuterRingToggle, m_OuterSpacing, m_OuterRingOffset, m_ParticleID );
133 }
134}
135
137{
139 {
140 super.OnPlayerEnterServer(player, trigger);
141
143 int boneIdx = player.GetBoneIndexByName("Head");
144 player.AddChild(spookyEntity,boneIdx,true);
145 }
146
148 {
149 super.OnPlayerExitServer(player, trigger);
150
151 array<typename> types = {SpookyPlayerStalker};
152 MiscGameplayFunctions.DeleteAttachedChildrenByTypename(player,types);
153 }
154}
vector m_Position
Cached world position.
SpookyArea EffectArea OnPlayerEnterServer(PlayerBase player, EffectTrigger trigger)
override void OnPlayerExitServer(PlayerBase player, EffectTrigger trigger)
override void InitZoneClient()
override void InitZoneServer()
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()