hi everyone here is the error that arrives when im trying to enter from my map 2 to map 3:
FATAL ERROR:Could not load script file
'custom_stories/paskaa/custom_stories/paskaa/maps/C:/Program Files(x86)/kauhupelit/Amnesia-The Dark Descent(2)/redist/custom_stories/paskaa/maps/03_testi.hps'
main(11,4): ERR : Expected ',' or ','
main(12,19) : ERR : Expected identifier
main(13,19) : ERR : Expected identifier
main(14,19) : ERR : Expected identifier
SCRIPT
////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player", "START_GRUNT_1", "GRUNT", true, 1);
AddEntityCollideCallback("Player", "START_KNIGHTS", "KNIGHT", true, 1);
}
void KNIGHT(string &in asParent, string &in asChild, int alState)
SetEntityActive("KNIGHT_0", true);
SetEntityActive("KNIGHT_1", true);
SetEntityActive("KNIGHT_2", true);
SetEntityActive("KNIGHT_3", true);
void GRUNT(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("GRUNT_1", true);
AddEnemyPatrolNode("GRUNT_1", "NODE_1", 0, "");
}
////////////////////////////
// Run when entering map
void OnEnter()
{
AutoSave();
AddEntityCollideCallback("Player", "door_close", "closedoor", true, 1);
}
void closedoor(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("mansion_1", true, true);
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
PlaySoundAtEntity("", "close_door.snt", "Player", 0, false);
GiveSanityDamage(5.0f, true);
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
AutoSave();
}
if you can find these mistakes that i could not find plz tell me
!