Go to the source code of this file.
◆ EEInit()
Definition at line 55 of file SpookyArea.c.
61 {
63
66 }
67}
this entity gets attached to each player while present in the spooky area
◆ InitZoneClient()
Definition at line 88 of file SpookyArea.c.
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
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 {
141
145 }
146
148 {
150
153 }
154}
override void OnPlayerEnterServer(PlayerBase player, EffectTrigger trigger)
override void OnPlayerExitServer(PlayerBase player, EffectTrigger trigger)
vector m_Position
Cached world position.
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.
proto native CGame GetGame()
◆ InitZoneServer()
Definition at line 79 of file SpookyArea.c.
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
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 {
132
136 }
137
139 {
141
144 }
145}
◆ OnPlayerEnterServer()
◆ OnPlayerExitServer()