I need some help here if anyone can take a look at this script and tell me what is wrong, I keep getting an error on line 38,56 and don't know what's wrong.
Spoiler below!
////////////////////////////
// Run when entering map
Void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "SetEntityActive", true, 1);
}
void OnEnter(){
FadeOut(20); // Instantly fades the screen out. (Good for starting the game)
FadeIn(20); // Amount of seconds the fade in takes
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220); // "Tilts" the players head
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true); // Simulates being on the ground
AddTimer("trig1", 8.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last
}