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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FATAL ERROR
Zypherzemus Offline
Member

Posts: 94
Threads: 7
Joined: Jul 2011
Reputation: 0
#8
RE: FATAL ERROR

PHP Code: (Select All)
/////////////////////////////
// Run first time starting map
void OnStart()
{
PlayMusic("07_amb.ogg"true100.00.01true);
 
AddEntityCollideCallback("Player""Key_Quest_Area""GetKeyQuest"true1);
 
AddEntityCollideCallback("Player""Key_Complete_Area""FinishKeyQuest"true1);
 
AddEntityCollideCallback("Player""Grunt_Area""CollideGruntDoor"true1);
}

void GetKeyQuest(string &in asParentstring &in asChildint alState)
{
AddQuest("keyquest""KeyQuest");
}

void FinishKeyQuest(string &in asParentstring &in asChildint alState)
{
CompleteQuest("keyquest""KeyQuest");
}

void CollideGruntDoor(string &in asParentstring &in asChildint alState)
{
SetSwingDoorClosed("eastwingdoor"truetrue);
StartPlayerLookAt("eastwingdoor"10.0f10.0f"");
AddTimer(""2.0f"stoplook");
CreateEntityAtArea("grunt_1""servant_grunt.ent""Grunt_Area_2"truefalse);
ShowEnemyPlayerPosition("grunt_1");
GiveSanityDamage(0.0f50.0ftruefalse);
}

void stoplook(string &in asTimer)
{
StopPlayerLookAt();
}
////////////////////////////
// Run when entering map
void OnEnter()
{
AddUseItemCallback("""eastwingkey_1""eastwingdoor""UsedKeyOnDoor"true);
}

void UsedKeyOnDoor(string &in asItemstring &in asEntity)
{
    
SetSwingDoorLocked("eastwingdoor"falsetrue);
    
PlaySoundAtEntity("""unlock_door""eastwingdoor"0false);
    
RemoveItem("eastwingkey_1");
}



 
////////////////////////////
// Run when leaving map
void OnLeave()
{
 


'No matching signatures'
signatures don't match?




I honestly believe this .hps file hates my guts .-.
07-02-2011, 10:00 PM
Find


Messages In This Thread
FATAL ERROR - by Zypherzemus - 07-02-2011, 07:23 AM
RE: FATAL ERROR - by xtron - 07-02-2011, 08:14 AM
RE: FATAL ERROR - by Zypherzemus - 07-02-2011, 08:38 AM
RE: FATAL ERROR - by Tanshaydar - 07-02-2011, 11:04 AM
RE: FATAL ERROR - by finosi - 07-02-2011, 04:40 PM
RE: FATAL ERROR - by Zypherzemus - 07-02-2011, 08:06 PM
RE: FATAL ERROR - by Roenlond - 07-02-2011, 08:15 PM
RE: FATAL ERROR - by Zypherzemus - 07-02-2011, 10:00 PM
RE: FATAL ERROR - by Roenlond - 07-02-2011, 11:06 PM
RE: FATAL ERROR - by Zypherzemus - 07-02-2011, 11:31 PM
RE: FATAL ERROR - by Roenlond - 07-02-2011, 11:37 PM
RE: FATAL ERROR - by Zypherzemus - 07-02-2011, 11:45 PM
RE: FATAL ERROR - by Roenlond - 07-02-2011, 11:48 PM
RE: FATAL ERROR - by Zypherzemus - 07-03-2011, 12:27 AM
RE: FATAL ERROR - by Zypherzemus - 07-03-2011, 01:52 AM
RE: FATAL ERROR - by Zypherzemus - 07-03-2011, 06:23 AM
RE: FATAL ERROR - by Roenlond - 07-03-2011, 10:59 AM
RE: FATAL ERROR - by Zypherzemus - 07-04-2011, 10:35 PM



Users browsing this thread: 2 Guest(s)