3 XmasTreeLight m_TreeLight;
4 EffectSound m_AmbientSoundLoop;
5 const string LOOP_SOUND =
"ChristmasMusic_SoundSet";
9 if ( !
g_Game.IsDedicatedServer() )
11 m_TreeLight = XmasTreeLight.Cast( ScriptedLightBase.CreateLight( XmasTreeLight,
"0 0 0" ) );
12 m_TreeLight.AttachOnMemoryPoint(
this,
"action" );
18 if ( !
g_Game.IsDedicatedServer() )
20 PlaySoundSetLoop( m_AmbientSoundLoop, LOOP_SOUND, 0, 0 );
26 if ( !
g_Game.IsDedicatedServer() )
29 m_TreeLight.Destroy();
30 if ( m_AmbientSoundLoop )
31 SEffectManager.DestroyEffect(m_AmbientSoundLoop);
ContaminatedArea_Base EffectArea EEInit()
override void EEDelete(EntityAI parent)