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

◆ OnWork()

override void OnWork ( float consumed_energy)
protected

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

196 {
197 if ( g_Game.IsServer() )
198 {
199 NoiseSystem noise = g_Game.GetNoiseSystem();
200 if ( noise )
201 {
202 noise.AddNoisePos( this, GetPosition(), m_NoisePar);
203 }
204 }
205 }
ref NoiseParams m_NoisePar
Определения ActionOpenDoors.c:104
DayZGame g_Game
Определения DayZGame.c:4074
proto void AddNoisePos(EntityAI source_entity, vector pos, NoiseParams noise_params, float external_strenght_multiplier=1.0)
Определения Noise.c:2
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки NoiseSystem::AddNoisePos(), g_Game, GetPosition() и m_NoisePar.