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);
}