Frictional Games Forum (read-only)
Locking Chests - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Locking Chests (/thread-8479.html)



Locking Chests - laser50 - 06-06-2011

How to Lock a Chest, So a Key can unlock it??


RE: Locking Chests - palistov - 06-06-2011

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.