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

◆ StartActivate()

override void StartActivate ( PlayerBase player)
private

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

45 {
46 super.StartActivate(player);
47
48 if (!g_Game.IsDedicatedServer())
49 {
51 {
52 m_SafetyPinSound = SEffectManager.PlaySound("landmine_safetyPin_SoundSet", GetPosition(), 0, 0, false);
53 m_SafetyPinSound.SetAutodestroy(true);
54 }
55
57 m_TimerLoopSound = SEffectManager.PlaySound("landmine_timer2_SoundSet", GetPosition(), 0, 0, true);
58 }
59 }
DayZGame g_Game
Определения DayZGame.c:3942
ref EffectSound m_SafetyPinSound
Определения Trap_LandMine.c:9
enum SoundTypeMine m_TimerLoopSound
static EffectSound PlaySound(string sound_set, vector position, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound.
Определения EffectManager.c:169
Manager class for managing Effect (EffectParticle, EffectSound)
Определения EffectManager.c:6
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки g_Game, GetPosition(), m_SafetyPinSound, m_TimerLoopSound и SEffectManager::PlaySound().