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

◆ StartActivate()

override void StartActivate ( PlayerBase player)
private

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

45 {
46 super.StartActivate(player);
47
48 if (!GetGame().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 }
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
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

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