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
Turning Off Ambient Sound
Spelos Away
Banned

Posts: 231
Threads: 19
Joined: Sep 2014
#2
RE: Turning Off Ambient Sound

Be careful with your naming.
In your script, you refer to the non existent timers of:
PHP Code: (Select All)
    RemoveTimer("Soundloop2");
    
RemoveTimer("Soundloop3");
    
RemoveTimer("Soundloop4");
    
RemoveTimer("Soundloop5");
    
RemoveTimer("Soundloop6"); 

What you wanted to do is:
PHP Code: (Select All)
    RemoveTimer("Sound2");
    
RemoveTimer("Sound3");
    
RemoveTimer("Sound4");
    
RemoveTimer("Sound5");
    
RemoveTimer("Sound6"); 

Since you have only one Soundloop1 that triggers Sound(s).
Hope this helps you. Smile
04-14-2016, 07:45 AM
Find


Messages In This Thread
Turning Off Ambient Sound - by AGP - 04-14-2016, 06:51 AM
RE: Turning Off Ambient Sound - by Spelos - 04-14-2016, 07:45 AM
RE: Turning Off Ambient Sound - by AGP - 04-14-2016, 08:03 AM
RE: Turning Off Ambient Sound - by Spelos - 04-14-2016, 08:19 AM
RE: Turning Off Ambient Sound - by AGP - 04-14-2016, 09:16 AM



Users browsing this thread: 3 Guest(s)