The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How add Multi Doors and Keys? Help me please!!!
skirnks017 Offline
Junior Member

Posts: 17
Threads: 11
Joined: Mar 2012
Reputation: 0
#1
Sad  How add Multi Doors and Keys? Help me please!!!

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 Huh

sorry for my english
Im from chile!!! Rolleyes

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!!! Big Grin
03-24-2012, 04:55 PM
Find


Messages In This Thread
How add Multi Doors and Keys? Help me please!!! - by skirnks017 - 03-24-2012, 04:55 PM



Users browsing this thread: 1 Guest(s)