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

◆ OnDamageDestroyed()

override void Grenade_ChemGas::OnDamageDestroyed ( int oldLevel)
inlineprotected

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

51 {
52 if (g_Game.IsServer() || !g_Game.IsMultiplayer())
53 {
54 g_Game.GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(Delete, 1000);
55 }
56 #ifndef SERVER
57 ClearFlags(EntityFlags.VISIBLE, false);
58 m_ParticleExploded = ParticleManager.GetInstance().PlayInWorld(ParticleList.GRENADE_CHEM_BREAK, GetPosition());
59 PlaySoundSet( m_ExplosionSound, GetExplosionSoundSet(), 0, 0 );
60 #endif
61
62 }
DayZGame g_Game
Определения DayZGame.c:3942
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
Определения ParticleManager.c:88
EffectSound m_ExplosionSound
Определения Grenade_ChemGas.c:5
ParticleSource m_ParticleExploded
Определения Grenade_ChemGas.c:4
string GetExplosionSoundSet()
Определения Grenade_ChemGas.c:29
EntityFlags
Entity flags.
Определения EnEntity.c:115
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473
const int CALL_CATEGORY_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8
proto native int ClearFlags(int flags, bool immedUpdate=true)

Перекрестные ссылки CALL_CATEGORY_SYSTEM, ClearFlags(), g_Game, GetExplosionSoundSet(), GetPosition(), ParticleList::GRENADE_CHEM_BREAK, m_ExplosionSound, m_ParticleExploded и ParticleManager().