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
Game crashes
Itskody Offline
Member

Posts: 100
Threads: 30
Joined: Mar 2011
Reputation: 1
#1
Solved: 8 Years, 9 Months ago Game crashes

usually when my game crashes while testing my custom story, it tells me whats wrong with my script. But nowwww it just says it has stopped working. i looked at my script and what i added before it crashed, and i cant find what the problem is. here is what i added:

PHP Code: (Select All)
void OnStart()
{
    
SetEntityPlayerInteractCallback("key_study_1""Monter"true);
}

void Monster(string &in entity)
{
    
StartPlayerLookAt("servant_grunt_2"1020"");
    
SetPlayerCrouching(true);
    
SetPlayerActive(false);
    
FadeIn(3.0f);
    
AddTimer(""3.0f"Dissapear");
    
GiveSanityDamage(10.0ftrue);
    
PlaySoundAtEntity("""react_breath_slow.snt""Player"0false);
}

void Dissapear(string &in asTimer)
{
    
SetEntityActive("servant_grunt_2"false);
    
FadeOut(1.0f);
    
AddTimer(""1.0f"Move");
}

void Move(string &in asTimer)
{
    
SetPlayerCrouching(false);
    
SetPlayerActive(true);
    
StopPlayerLookAt();


Can you find anything?
04-17-2011, 06:33 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
Solved: 8 Years, 9 Months ago RE: Game crashes

SetEntityPlayerInteractCallback("key_study_1", "Monter", true);
void Monster(string &in entity)

04-17-2011, 09:05 PM
Website Find




Users browsing this thread: 1 Guest(s)