//===========================================
// 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)
{
FadeEnemyToSmoke("servant_grunt_1", true);
}
{
AddEntityCollideCallback("Player", "ScriptArea_2", "Message1", true, 1);
}
void Message1(string &in asChild, string &in asParent, int alState)
{
SetMessage("Messages", "RunandHide1", 0);
}
//===========================================
// This runs when the player enters the map
void OnEnter()
{
}
//===========================================
// This runs when the player leaves the map
void OnLeave()
{
}
I get an error message saying Unexpected token on the 16th line of this character: "{"
The second collide function is causing the problem. What's wrong with it?