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
Need help coding for key to work on door
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#4
RE: Need help coding for key to work on door

void MyFunc(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("hallway_door", false, true);
PlaySoundAtEntity("", "unlock_door", "hallway_door", 0, false);
RemoveItem("door_key");
}
Replace the bolded text with UsedKeyOnDoor

03-20-2012, 10:54 PM
Find


Messages In This Thread
RE: Need help coding for key to work on door - by Obliviator27 - 03-20-2012, 10:54 PM



Users browsing this thread: 1 Guest(s)