//===========================================
// Starter's Script File!
//===========================================
//===========================================
// This runs when the map first starts
void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "Collide_Area", true, 1);
}
void Collide_Area(string &in asParent, string &in asChild, int alState)
{
[void FadeEnemyToSmoke(string& servant_grunt, bool abPlaySound);]
}
//===========================================
// This runs when the player enters the map
void OnEnter()
{
}
//===========================================
// This runs when the player leaves the map
void OnLeave()
{
}
It is meant to poof away a monster once you enter the area. Whenever I try to open the map in Amnesia, the game stops responding with an always unique error message.