Hi forum this is my second question for the HPL Engine in Amnesia.
Ok my ask is how add Doors and Keys (Closed to open doors with keys) Multi Doors and Keys
because I can not do it and do not know where to look
Please Help Me
sorry for my english
Im from chile!!!
PD: i have a .eps file
this is the code of first key and door
////////////////////////////
// Run when entering map
void OnEnter()
{
AddUseItemCallback("", "awesomekey_1", "mansion_1", "KeyOnDoor", true);
}
void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("mansion_1", false, true);
PlaySoundAtEntity("", "unlock_door", "mansion_1", 0, false);
RemoveItem("awesomekey_1");
}
But y need add second door and key...and and third and fourth...etc...
Sorry i no0b in amnesia level editor!!!