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 custom story problem
ezra627 Offline
Junior Member

Posts: 5
Threads: 5
Joined: Sep 2014
Reputation: 0
#12
RE: Amnesia custom story problem

I have the same problem,this is the code:
Void OnStart()
{
AddUseItemCallback(string& asName, "Key1", "Doortolvl1", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Doortolvl1", false, true);
PlaySoundAtEntity("", "amb_alert01", "Doortolvl1", 0, false);
RemoveItem("Key1");
}

i looked at the key and door name like 50 times!IT IS EXACTLY THE FREAKING SAME!!!And when i test it,it says "can not use the item this way!"
09-25-2014, 03:26 AM
Find


Messages In This Thread
Amnesia custom story problem - by KodiakZ - 05-12-2012, 03:11 PM
RE: Amnesia custom story problem - by EXAWOLT - 05-12-2012, 04:44 PM
RE: Amnesia custom story problem - by Putmalk - 05-12-2012, 11:26 PM
RE: Amnesia custom story problem - by KodiakZ - 05-13-2012, 10:16 AM
RE: Amnesia custom story problem - by pandasFTW - 05-13-2012, 10:32 AM
RE: Amnesia custom story problem - by KodiakZ - 05-13-2012, 11:02 AM
RE: Amnesia custom story problem - by pandasFTW - 05-13-2012, 11:10 AM
RE: Amnesia custom story problem - by KodiakZ - 05-13-2012, 11:10 AM
RE: Amnesia custom story problem - by EXAWOLT - 05-13-2012, 04:50 PM
RE: Amnesia custom story problem - by Putmalk - 05-13-2012, 01:58 PM
RE: Amnesia custom story problem - by ezra627 - 09-25-2014, 03:26 AM
RE: Amnesia custom story problem - by Mudbill - 09-25-2014, 06:55 AM



Users browsing this thread: 1 Guest(s)