01-11-2012, 11:04 PM
OnStart:
big_clock_chime.snt:
I want the sound to play at the clock entity as soon as the game starts, but it doesn't. The sound file is in redist/sounds/Custom.
Code:
PlaySoundAtEntity("", "Custom/big_clock_chime.snt", "clock_grandfather_1", 0.0f, false);
big_clock_chime.snt:
Code:
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="Custom/big_clock_chime" />
</Main>
</SOUNDS>
<PROPERTIES Volume="0.5" MinDistance="20" MaxDistance="30" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="True" Loop="True" Use3D="True" Blockable="True" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>
I want the sound to play at the clock entity as soon as the game starts, but it doesn't. The sound file is in redist/sounds/Custom.