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
Amnesia HPL Problem!
Steve Offline
Member

Posts: 178
Threads: 17
Joined: Jun 2012
Reputation: 7
#9
RE: Amnesia HPL Problem!

I think you did something worng the last time because this is really just how you do it:
 
void OnStart()
{
AddUseItemCallback("", "Key_1", "LockedDoor1", "UsedKeyOnDoor", true);
AddUseItemCallback("", "Key_2", "LockedDoor2", "KeyOnDoor", true);
}
 
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("LockedDoor1", false, true);
RemoveItem("Key_1");
}
 
void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("LockedDoor2", false, true);
RemoveItem("Key_2");
}

CURRENTLY WORKING ON:
Final Light = 40%
Need of voice actors.
(This post was last modified: 08-04-2012, 12:36 PM by Steve.)
08-04-2012, 12:36 PM
Find


Messages In This Thread
Amnesia HPL Problem! - by Brothersvv09 - 08-03-2012, 05:01 AM
RE: Amnesia HPL Problem! - by Froge - 08-03-2012, 05:17 AM
RE: Amnesia HPL Problem! - by Steve - 08-03-2012, 09:26 AM
RE: Amnesia HPL Problem! - by Brothersvv09 - 08-03-2012, 10:32 PM
RE: Amnesia HPL Problem! - by Froge - 08-03-2012, 11:12 PM
RE: Amnesia HPL Problem! - by Brothersvv09 - 08-03-2012, 11:43 PM
RE: Amnesia HPL Problem! - by Froge - 08-04-2012, 12:35 AM
RE: Amnesia HPL Problem! - by Brothersvv09 - 08-04-2012, 12:49 AM
RE: Amnesia HPL Problem! - by Steve - 08-04-2012, 12:36 PM



Users browsing this thread: 1 Guest(s)