void MonsterFunction(string &in asParent, string &in asChild, int alState)
{
    SetEntityActive("servant_grunt_1", true); 
    AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 2, "");
    
}
void UsedKeyOnAlcDoor(string &in asItem, string &in asEntity)
{
    SetSwingDoorLocked("AlcDoor", false, true);
    PlaySoundAtEntity("", "unlock_door.snt", "AlcDoor", 0.0f, true);
    RemoveItem("Key_AlcDoor");
}
void WallChange1(string &in asParent, string &in asChild, int alState)
{
    SetEntityActive("Key1disappear_*",false);
    SetEntityActive("Key1appear_*",true);
}
void SpotlightOn(string &in asParent, string &in asChild, int alState)
{
    SetLightVisible("Spotlight_4", True); 
}
void SpotlightOff(string &in asParent, string &in asChild, int alState)
{
    SetLightVisible("Spotlight_4", False); 
} 
void OnStart() 
{ 
    AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", true, 1); 
    AddEntityCollideCallback("Player", "PlayerCollide_Spotlight", "SpotlightOn", true, 1);
    AddEntityCollideCallback("Player", "PlayerCollide_SpotlightOff", "SpotlightOff", true, 1);    
    AddEntityCollideCallback("Player", "PlayerCollide_key1", "WallChange1", true, 1); 
    AddUseItemCallback("", "Key_AlcDoor", "AlcDoor", "UsedKeyOnAlcDoor", true);    
}