Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Locking Chests
Author Message
laser50 Offline
Member

Posts: 243
Joined: Apr 2011
Reputation: 0
Post: #1
Locking Chests
How to Lock a Chest, So a Key can unlock it??
06-06-2011 09:17 PM
Find all posts by this user Quote this message in a reply
palistov Offline
Posting Freak

Posts: 1,176
Joined: Mar 2011
Reputation: 56
Post: #2
RE: Locking Chests
Select it in the level editor, and go to the entity tab. Set its stuck state to 'Min'. Then in your script, add a use-item callback which calls SetPropObjectStuckState("chest", 0); once you 'unlock' the chest.

06-06-2011 11:47 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)