06-21-2012, 06:50 PM
I get a Fatal error when i load this script. anyone see the mistak
void OnStart()
{
AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", true, 1);
}
void MonsterFunction(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_1", true);
}
////////////////////////////
// Run when leaving map
void OnLeave()
void OnStart()
{
AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", true, 1);
}
void MonsterFunction(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_1", true);
}
////////////////////////////
// Run when leaving map
void OnLeave()