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


Thread Rating:
  • 2 Vote(s) - 1.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
4* Questions and Questions are in comic :O
miguli Offline
Junior Member

Posts: 43
Threads: 7
Joined: Jun 2011
Reputation: 0
#15
RE: 4* Questions and Questions are in comic :O

Amnesia = F*cking scary.
But again with problems, error comes again and i dont get it what is wrong, help me?

Quote://////////////////////////////////
//Taking letter is making Grunt_1
void OnStart()
{
SetEntityPlayerInteractCallback("note_letter_1", "Func01", true);
}
void Func01(string &in asEntity)
{
SetEntityActive("grunt_1", true);
}
////////////////////////////////////////////////////////////
// Enemy Disapears when player is safearea_1
void OnStart()
{
AddEntityCollideCallback("Player", "safearea_1", "Func02", false, 1);
}
void Func02(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("grunt_1", false);
}

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

}

I tested without void OnStart() but nothing special, only error.

////////////////////////////////////////////////////////////
// Enemy Disapears when player is safearea_1
{
AddEntityCollideCallback("Player", "safearea_1", "Func02", false, 1);
}
void Func02(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("grunt_1", false);
}

Amnesia map:
Hope - Work in Progress.
06-10-2011, 11:07 PM
Find


Messages In This Thread
RE: 4* Questions and Questions are in comic :O - by miguli - 06-10-2011, 11:07 PM



Users browsing this thread: 1 Guest(s)