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
How To Lock a Chest?
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#2
RE: How To Lock a Chest?

SetLeverStuckState("name_of_lever", 1, false); I think it is 1, it could be -1. 1 is either that the chest will be "locked closed" or it will be "locked open" so if it is open, then change to -1 instead.

Yes, the chests are actually levers so you have to fake a little bit to make them behave like locked doors.
09-17-2010, 08:33 AM
Website Find


Messages In This Thread
How To Lock a Chest? - by theDARKW0LF - 09-17-2010, 08:27 AM
RE: How To Lock a Chest? - by jens - 09-17-2010, 08:33 AM
RE: How To Lock a Chest? - by theDARKW0LF - 09-17-2010, 08:38 AM



Users browsing this thread: 1 Guest(s)