3 XmasTreeLight m_TreeLight;
5 const string LOOP_SOUND =
"ChristmasMusic_SoundSet";
9 if ( !
GetGame().IsDedicatedServer() )
11 m_TreeLight = XmasTreeLight.Cast(
ScriptedLightBase.CreateLight( XmasTreeLight,
"0 0 0" ) );
12 m_TreeLight.AttachOnMemoryPoint(
this,
"action" );
18 if ( !
GetGame().IsDedicatedServer() )
20 PlaySoundSetLoop( m_AmbientSoundLoop, LOOP_SOUND, 0, 0 );
26 if ( !
GetGame().IsDedicatedServer() )
29 m_TreeLight.Destroy();
30 if ( m_AmbientSoundLoop )