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

◆ OnWorkStart()

override void OnWorkStart ( )
protected

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

176 {
178
179 if ( GetGame().IsServer() )
180 {
181 m_NoisePar = new NoiseParams();
182 m_NoisePar.LoadFromPath("cfgVehicles " + GetType() + " NoiseSmokeGrenade");
184 if ( noise )
185 {
187 }
188 }
189
190 Param1<ESmokeGrenadeState> par = new Param1<ESmokeGrenadeState>(ESmokeGrenadeState.LOOP);
191 m_TimerSmokeLoop.Run(5.0, this, "SetSmokeGrenadeState", par);
192 }
eBleedingSourceType GetType()
Определения BleedingSource.c:63
ref NoiseParams m_NoisePar
Определения ActionOpenDoors.c:94
class NoiseSystem NoiseParams()
Определения Noise.c:15
void SetSmokeGrenadeState(ESmokeGrenadeState state)
Определения SmokeGrenadeBase.c:255
ESmokeGrenadeState
Определения SmokeGrenadeBase.c:2
ref Timer m_TimerSmokeLoop
Определения SmokeGrenadeBase.c:14
proto native NoiseSystem GetNoiseSystem()
static float GetNoiseReduction(Weather weather)
Определения SensesAIEvaluate.c:18
proto void AddNoisePos(EntityAI source_entity, vector pos, NoiseParams noise_params, float external_strenght_multiplier=1.0)
Определения Noise.c:2
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки NoiseSystem::AddNoisePos(), GetGame(), NoiseAIEvaluate::GetNoiseReduction(), CGame::GetNoiseSystem(), GetPosition, GetType(), m_NoisePar, m_TimerSmokeLoop, NoiseParams() и SetSmokeGrenadeState().