I can't go through my second door. Then I get this error.
FATAL ERROR: could not load script file
'custom_stories/DanielsServants/Custom_stories/DanielsServants/Maps
/C:/Program Files/Amnesia - The Dark Descent/redist/custom-stories/DanielsServants/Maps/Hall.hps'!
ExecuteString (1,1):ERR : No matching signatures to 'OnLeace()' main (12,2):ERR: Unexpected end of file
anyone know how to fix this?
And this is my hps file.
void OnStart()
{
AddUseItemCallback("", "Key_1", "Storagedoor", "UsedKeyOnDoor, true);
}
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Storagedoor", false, true);
PlaySoundAtEntity("", "Unlock_door", "Storagedoor", 0, false);
RemoveItem(Key_1);
}
Void Onleave()
{
}