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


Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nodes problem
Gamemakingdude Offline
Senior Member

Posts: 470
Threads: 82
Joined: Nov 2010
Reputation: 9
#6
RE: Nodes problem - Another problem

PHP Code: (Select All)
void OnStart()
{
    
AddEntityCollideCallback("Player""KeyFall""KeyFalling",true,1);
    
AddEntityCollideCallback("Player""CloseHatch""CollideSwing"true1);
    
AddEntityCollideCallback("Player""cellar_wood01_1","WaterLurker"false1);
    
AddEntityCollideCallback("Player""ScriptArea_1""Infected"true1);
    
AddEntityCollideCallback("Player""ScriptArea_2""StatueScare"true,1);
    
AddUseItemCallback("""key_study_1""hatch_metal01_1""UsedKeyOnDoor"true);
    
GiveItemFromFile("lantern""lantern.ent");
    for(
int i=19i<71i++)
        {
            
AddEnemyPatrolNode("character_infected_1""PathNodeArea_"+i0.0f"");
        }
}

void StatueScare(string &in asParentstring &in asChildint alState)
{
    
SetEntityActive("deformed_man_2",true);
    
StartPlayerLookAt("LookAt_1",2,2,"");
    
AddTimer("Hide",2.0f,"HideMan");
    
GiveSanityDamage(20,true);
}

void HideMan(string &in asParentstring &in asChildint alState)
{
    
StopPlayerLookAt();
    
SetEntityActive("deformed_man_2",false);


Rep if like me or im helpful or you love my stories!
Stephanos house
11-29-2010, 05:22 AM
Find


Messages In This Thread
Nodes problem - by Gamemakingdude - 11-28-2010, 11:31 PM
RE: Nodes problem - by LoneWolf - 11-29-2010, 12:03 AM
RE: Nodes problem - by Gamemakingdude - 11-29-2010, 12:33 AM
RE: Nodes problem - Another problem - by Chilton - 11-29-2010, 04:56 AM
RE: Nodes problem - Another problem - by Gamemakingdude - 11-29-2010, 05:22 AM
RE: Nodes problem - by LoneWolf - 11-29-2010, 11:03 AM
RE: Nodes problem - by Gamemakingdude - 11-29-2010, 10:06 PM
RE: Nodes problem - by LoneWolf - 11-29-2010, 10:27 PM
RE: Nodes problem - by Gamemakingdude - 11-29-2010, 10:58 PM
RE: Nodes problem - by Gamemakingdude - 11-30-2010, 05:14 AM
RE: Nodes problem - by Hooumeri - 11-30-2010, 09:49 AM
RE: Nodes problem - by Gamemakingdude - 11-30-2010, 10:49 AM



Users browsing this thread: 1 Guest(s)