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
Locking Chests
laser50 Offline
Member

Posts: 242
Threads: 22
Joined: Apr 2011
Reputation: 0
#1
Locking Chests

How to Lock a Chest, So a Key can unlock it??
06-06-2011, 09:17 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#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




Users browsing this thread: 1 Guest(s)