Frictional Games Forum (read-only)
do i need a script if i want to lock a chest with padlocks ? - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: do i need a script if i want to lock a chest with padlocks ? (/thread-25720.html)

Pages: 1 2


RE: do i need a script if i want to lock a chest with padlocks ? - Amnesiaplayer - 07-21-2014

i understand now a little but... but do i have to typ the name of the chest or...
i don't understand i have 2 chests... i need them both locked... need i one ? script codE ?


RE: do i need a script if i want to lock a chest with padlocks ? - victorkim890(KimmyChimmy) - 07-21-2014

then u need 2

but there same

just different chest


RE: do i need a script if i want to lock a chest with padlocks ? - Mudbill - 07-21-2014

An example of the line could be:

PHP Code:
SetLeverStuckState("Big", -1false); 

I forgot which state was closed, it might be 1 instead of -1. Basically this will make it stuck in that state. If you copy the line and edit the name to be "small" as well, then both will be locked.

If you set the stuck state to 0, it will be unlocked.


RE: do i need a script if i want to lock a chest with padlocks ? - victorkim890(KimmyChimmy) - 07-21-2014

tats wat i basically did in my vid