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
Script Help Help with a locked doors!
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#4
RE: Help with a locked doors!


If YourComputer was here, he would frown.

Just do this:

void UsedKeyOnDoor(string &in asItem, string &in asEntity)

{

SetSwingDoorLocked(asEntity, false, true);

PlaySoundAtEntity("", "unlock_door", asEntity, 0, false);

RemoveItem(asItem);

}

Noob scripting tutorial: From Noob to Pro

04-23-2012, 08:13 PM
Find


Messages In This Thread
Help with a locked doors! - by Viuffuz - 04-23-2012, 07:23 PM
RE: Help with a locked doors! - by Datguy5 - 04-23-2012, 07:35 PM
RE: Help with a locked doors! - by overscore - 04-23-2012, 08:02 PM
RE: Help with a locked doors! - by Cranky Old Man - 04-23-2012, 08:13 PM
RE: Help with a locked doors! - by Viuffuz - 04-23-2012, 08:15 PM
RE: Help with a locked doors! - by Datguy5 - 04-24-2012, 05:34 AM
RE: Help with a locked doors! - by Cranky Old Man - 04-24-2012, 07:15 PM
RE: Help with a locked doors! - by Datguy5 - 04-24-2012, 07:37 PM
RE: Help with a locked doors! - by Cranky Old Man - 04-24-2012, 08:22 PM
RE: Help with a locked doors! - by Stepper321 - 04-25-2012, 02:37 PM
RE: Help with a locked doors! - by SilentStriker - 04-25-2012, 02:48 PM



Users browsing this thread: 2 Guest(s)