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
[SOLVED] Level issue
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#9
RE: Level issue

I found it. It's this little piece of code which just adds sound after sound until it can't even count them.

PHP Code: (Select All)
void Timer_ComputerLoad(const tString &in asTimer)
        {    
        
////////////////////////
        // This timer should repeat!
        
Map_AddTimer("ComputerLoadStop",cMath_RandRectf(3.0,6.0),"Timer_ComputerLoad");
        
        
Sound_CreateAtEntity("CLoad""level_amb_shared_machines/tech/HDD/underload_loop""ComputerEntrance"0.5ftrue0.8f);
        
        if(
asTimer == "ComputerLoadStop"){    
        
Sound_Stop("CLoad"0.2f);
            
Map_AddTimer("ComputerLoad",cMath_RandRectf(10.0,18.0),"Timer_ComputerLoad");        
        }
        
        } 

"What you think is irrelevant" - A character of our time

A Christmas Hunt
11-03-2016, 10:10 AM
Find


Messages In This Thread
[SOLVED] Level issue - by i3670 - 11-01-2016, 12:36 AM
RE: Level issue - by Mudbill - 11-01-2016, 01:35 AM
RE: Level issue - by Abion47 - 11-01-2016, 06:05 AM
RE: Level issue - by i3670 - 11-01-2016, 07:51 AM
RE: Level issue - by Draugemalf - 11-02-2016, 12:30 PM
RE: Level issue - by i3670 - 11-02-2016, 09:08 PM
RE: Level issue - by Draugemalf - 11-02-2016, 11:44 PM
RE: Level issue - by Abion47 - 11-03-2016, 12:44 AM
RE: Level issue - by i3670 - 11-03-2016, 10:10 AM



Users browsing this thread: 1 Guest(s)