The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sounds won't play
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#1
Sounds won't play

This is driving me absolutely insane. For some reason, I can't get these gui sounds to play. I've even added SetMessages to each part of the timer to ensure that the timer itself is working, and it is. Every message in the function displays properly but there are still no sounds.

PHP Code: (Select All)
void TimerBegin(string asTimer)
{
    if(
asTimer == "sound1")
    {
        
PlayGuiSound("impact_glass_med.snt"0.0f);
        
SetMessage("Doors""inside"0);
    }
    else if(
asTimer == "sound2")
    {
        
PlayGuiSound("impact_glass_low.snt"0.0f);
        
SetMessage("Doors""inside"0);
    }
    else if(
asTimer == "sound3")
    {
        
PlayGuiSound("16_grease_lever.snt"0.0f);
        
SetMessage("Doors""inside"0);
    }
    else if(
asTimer == "line")
    {
        
AddEffectVoice("hartlib_010.ogg""""Ch04Misc""hartlib10"true"SamuelVoice"020);
        
SetEffectVoiceOverCallback("HartlibLine11");
    }


(This post was last modified: 07-10-2012, 10:45 PM by Damascus.)
07-10-2012, 09:48 PM
Find


Messages In This Thread
Sounds won't play - by Damascus - 07-10-2012, 09:48 PM
RE: Sounds won't play - by SilentStriker - 07-10-2012, 09:56 PM
RE: Sounds won't play - by Damascus - 07-10-2012, 10:01 PM
RE: Sounds won't play - by SilentStriker - 07-10-2012, 10:03 PM



Users browsing this thread: 1 Guest(s)