80 : EffectArea
81{
82
83
84
86 {
87
88 if ( !m_ToxicClouds )
90
91 SetSynchDirty();
92
93 #ifdef DEVELOPER
94
96 {
97 Debug.
Log(
"YOU CAN IGNORE THE FOLLOWING DUMP");
98 InitZone();
99 Debug.
Log(
"YOU CAN USE FOLLOWING DATA PROPERLY");
100 }
101 #endif
102
104 InitZone();
105
106 super.EEInit();
107 }
108
110 {
111 super.InitZoneServer();
112
113
114 if ( m_TriggerType != "" )
116 }
117
119 {
120 super.InitZoneClient();
121
122
123 PlaceParticles( GetWorldPosition(),
m_Radius, m_InnerRings, m_InnerSpacing, m_OuterRingToggle, m_OuterSpacing, m_OuterRingOffset, m_ParticleID );
124 }
125}
126
128{
130 {
131 super.OnPlayerEnterServer(player, trigger);
132
134 int boneIdx = player.GetBoneIndexByName("Head");
135 player.AddChild(spookyEntity,boneIdx,true);
136 }
137
139 {
140 super.OnPlayerExitServer(player, trigger);
141
142 array<typename> types = {SpookyPlayerStalker};
143 MiscGameplayFunctions.DeleteAttachedChildrenByTypename(player,types);
144 }
145}
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()