DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ EEInit()

override void ContaminatedArea_Dynamic::EEInit ( )
inlineprotected

См. определение в файле ContaminatedArea_Dynamic.c строка 170

171 {
172 // We make sure we have the particle array
173 if ( !m_ToxicClouds )
174 m_ToxicClouds = new array<Particle>;
175
176 // We set the values for dynamic area as these are not set through JSON and are standardized
177 m_Name = "Default Dynamic";
178 m_Radius = 120;
179 m_PositiveHeight = 7;
180 m_NegativeHeight = 10;
181 m_InnerRings = 1;
182 m_InnerSpacing = 40;
183 m_OuterSpacing = 30;
184 m_OuterRingOffset = 0;
185 m_Type = eZoneType.DYNAMIC;
186 m_TriggerType = "ContaminatedTrigger_Dynamic";
187
188 SetSynchDirty();
189
190 #ifdef DEVELOPER
191 // Debugs when placing entity by hand using internal tools
192 /*if ( GetGame().IsServer() && !GetGame().IsMultiplayer() )
193 {
194 Debug.Log("YOU CAN IGNORE THE FOLLOWING DUMP");
195 InitZone();
196 Debug.Log("YOU CAN USE FOLLOWING DATA PROPERLY");
197 }*/
198 #endif
199
202
203 // If a player arrives slightly later during the creation process we check if playing the flare FX is relevant
204 if ( m_DecayState == eAreaDecayStage.INIT )
205 PlayFlareVFX();
206
207 if ( m_DecayState == eAreaDecayStage.LIVE )
208 InitZone(); // If it has already been created, we simply do the normal setup, no cool effects, force the LIVE state
209 else if ( GetGame().IsClient() && m_DecayState > eAreaDecayStage.LIVE )
210 InitZoneClient(); // Same as before but without state forcing
211
212 super.EEInit();
213 }
eBleedingSourceType m_Type
Определения BleedingSource.c:25
float m_Radius
Определения AIGroupBehaviour.c:10
eAreaDecayStage
Определения ContaminatedArea_Dynamic.c:2
eZoneType
Определения EffectArea.c:3
class SyncedValue m_Name
override void InitZone()
Определения ContaminatedArea_Dynamic.c:216
const float AIRBORNE_FX_OFFSET
Определения ContaminatedArea_Dynamic.c:43
override void InitZoneClient()
Определения ContaminatedArea_Dynamic.c:256
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки AIRBORNE_FX_OFFSET, GetGame(), GetPosition, InitZone(), InitZoneClient(), m_DecayState, m_Name, m_OffsetPos, m_Radius, m_Type и PlayFlareVFX().