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
Door problem?(NOOB)
Ongka Offline
Member

Posts: 225
Threads: 3
Joined: Nov 2010
Reputation: 20
#2
RE: Door problem?(NOOB)

void OnStart()
{
    AddUseItemCallback("UnlockDoor", "ENTER_KEY_NAME_HERE", "ENTER_DOOR_NAME_HERE","UseKeyOnDoor", true);
}

void UseKeyOnDoor(string &in asItem, string &in asEntity)
{
            SetSwingDoorLocked("ENTER_DOOR_NAME_HERE", false, false);
}
This should work.

[Image: 18694.png]
07-15-2012, 06:34 PM
Find


Messages In This Thread
Door problem?(NOOB) - by Stenkilde - 07-15-2012, 06:22 PM
RE: Door problem?(NOOB) - by Ongka - 07-15-2012, 06:34 PM
RE: Door problem?(NOOB) - by Stenkilde - 07-15-2012, 06:37 PM
RE: Door problem?(NOOB) - by drunkmonk - 07-15-2012, 06:56 PM
RE: Door problem?(NOOB) - by Ongka - 07-15-2012, 06:42 PM
RE: Door problem?(NOOB) - by Stenkilde - 07-15-2012, 06:46 PM
RE: Door problem?(NOOB) - by Ongka - 07-15-2012, 06:55 PM
RE: Door problem?(NOOB) - by Stenkilde - 07-15-2012, 06:58 PM
RE: Door problem?(NOOB) - by FlawlessHappiness - 07-15-2012, 08:09 PM
RE: Door problem?(NOOB) - by Stenkilde - 07-15-2012, 08:13 PM
RE: Door problem?(NOOB) - by drunkmonk - 07-15-2012, 08:21 PM
RE: Door problem?(NOOB) - by Stenkilde - 07-15-2012, 08:36 PM
RE: Door problem?(NOOB) - by FlawlessHappiness - 07-15-2012, 08:37 PM
RE: Door problem?(NOOB) - by Stenkilde - 07-15-2012, 08:40 PM
RE: Door problem?(NOOB) - by FlawlessHappiness - 07-15-2012, 08:52 PM
RE: Door problem?(NOOB) - by Stenkilde - 07-15-2012, 08:56 PM
RE: Door problem?(NOOB) - by FlawlessHappiness - 07-15-2012, 09:07 PM
RE: Door problem?(NOOB) - by Stenkilde - 07-15-2012, 09:11 PM
RE: Door problem?(NOOB) - by Ongka - 07-15-2012, 09:23 PM
RE: Door problem?(NOOB) - by Stenkilde - 07-15-2012, 10:29 PM



Users browsing this thread: 1 Guest(s)