06-11-2012, 05:36 AM
Im trying to add custom sounds to the custom story, but the sound doesnt play
this is the script that plays the sound
I made a sounds folder and a extrasounds inside there again there i put the sound and made a Snt file
snt file
this is the script that plays the sound
Code:
void MonsterScare(string &in asParent, string &in asChild, int alState){ SetEntityActive("gisse3", true); PlayGuiSound("scaresound.ogg", 100); AddTimer("StopMusic", 1, "StopMusic2");}
I made a sounds folder and a extrasounds inside there again there i put the sound and made a Snt file
snt file
Code:
<SOUNDENTITY> <SOUNDS> <Main> <Sound File="scaresound.ogg" /> </Main> </SOUNDS> <PROPERTIES Volume="5" MinDistance="1" MaxDistance="50" Random="0" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="false" Blockable="False" BlockVolumeMul="0.7" Priority="5" /></SOUNDENTITY>