(12-22-2011, 07:38 AM)Your Computer Wrote:  You're supposed to provide a string for TeleportPlayer. Instead, you have provided an undeclared variable. Also, you may want to verify the definition of the Nightmare function.
Ok after doing what you said, i get the following errors now 
execute (1, 1) : ERR : No matching signatures to 'OnGameStart()' 
main (17, 24) : ERR : Expected '('
These are the changes i made.
Im new to making custom stories, so could you show me the changes you would have made to this.
void OnStart()
{
}
void OnEnter()
{
    AddEntityCollideCallback("Player", "Teleport", "Nightmare", true, 1);
}
void OnLeave()
{
}
void Nightmare(string &inasParent, string &in asChild, int alState)
{
    FadeOut(0.0f);
    TeleportPlayer(string PlayerStartArea_2);
    PlaySoundAtEntity("", "insanity_monster_roar01", "slime_pile_3", 0, false);
    FadeIn(0.0f);
}
Ignore the fade in part im going to change the time for the fade in.