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
Ending titles
markis95 Offline
Junior Member

Posts: 11
Threads: 2
Joined: Dec 2011
Reputation: 1
#3
RE: Ending titles

Thanks. I have two maps in my custom story, first map working fine but second dont do anithing what i writed in script:
PHP Code: (Select All)
    //===========================================
     // This runs when the map first starts
     
    
void OnStart()
    {
        
PreloadSound("raping.snt");
        
PreloadSound("penis.snt");
        
AddEntityCollideCallback("Player""ScriptArea_1""penis"true1);
        
AddEntityCollideCallback("Player""ScriptArea_2""reping"true1);        
    }
    
    
void penis()
    {
        
PlaySoundAtEntity("""penis.snt""Player"0false);
    }
    
    
void raping()
    {
        
AddTimer("timer1"7"look_to_bed");
        
AddTimer("timer2"130"end");
        
StartPlayerLookAt("cabinet_nice_1"1025"stoplook");
    }
    
    
void look_to_bed()
    {
        
RemoveTimer("timer1");
        
StartPlayerLookAt("pig_corpse_1"1025"stoplook");
    }
    
    
void stoplook()
    {
        
StopPlayerLookAt();
    }
    
    
void end()
    {
        
//StartCredits(penis.ogg, true, string& asTextCat, string& asTextEntry, 0);
    


Can someone tell what is here wrong?
12-16-2011, 11:10 PM
Find


Messages In This Thread
Ending titles - by markis95 - 12-16-2011, 10:00 PM
RE: Ending titles - by Your Computer - 12-16-2011, 10:08 PM
RE: Ending titles - by markis95 - 12-16-2011, 11:10 PM
RE: Ending titles - by Your Computer - 12-17-2011, 12:19 AM
RE: Ending titles - by markis95 - 12-17-2011, 01:46 PM
RE: Ending titles - by Linus Ågren - 12-17-2011, 02:09 PM
RE: Ending titles - by markis95 - 12-17-2011, 02:26 PM



Users browsing this thread: 1 Guest(s)