Frictional Games Forum (read-only)
2 Levers to open a special (wall) door - 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: 2 Levers to open a special (wall) door (/thread-25710.html)



Is it possible to... - Amnesiaplayer - 07-18-2014

i got 1 question.... Is it possible to make a place where there are 2 doors and 1 Secret Door Wall.. .. so in the other 2 doors (level door) you're gonna tp to a cellar and archieves... then you must pull 2 levers on each place... and the wall will go up... (you will hear the sound after the last time you pull the lever.. is this possible ? so yes... how :S


2 Levers to open a special (wall) door - Amnesiaplayer - 07-18-2014

hello.
i have found an Secret door ? and i saw it on most amnesia custom stories... somebody is pulling a lever and the stone is going up.. so you can go progress further...
but how did they do this ?! i don't know the script Sad


RE: 2 Levers to open a special (wall) door - Romulator - 07-18-2014

Please don't make two threads for the same reason.

You are to use Global Variables.
https://wiki.frictionalgames.com/hpl2/amnesia/script_language_reference_and_guide/variables?s[]=global


RE: 2 Levers to open a special (wall) door - Mudbill - 07-18-2014

Add a ConnectionStateChangeCallback to the levers, then use the SetMoveObjectState script to move the special wall. If you find the entity and it is a "MoveObject" this will work for it. Use the value 1 or -1 to get it to move the way you want.

As for the two levers part, you'll need a variable check to make sure both have been pulled before running the script, as Rom stated. It shouldn't be too hard to figure out.


RE: Is it possible to... - Mudbill - 07-18-2014

Duplicate of
https://www.frictionalgames.com/forum/thread-25710.html


RE: 2 Levers to open a special (wall) door - victorkim890(KimmyChimmy) - 07-18-2014

i no how to do it its in my cs on moddb


RE: 2 Levers to open a special (wall) door - Amnesiaplayer - 07-18-2014

thanks all! en yes i got this idea fro myou're custo mstory video Smile but you pullled 1 lever on the same map... i need 2 levers on 2 other maps.. Tongue i'm trying now Big Grin

and nevermind O_o too many script things... i should give up... :S

It works Big Grin thanks but the variable other things i willl not do... to difficult for me... i think


RE: 2 Levers to open a special (wall) door - victorkim890(KimmyChimmy) - 07-18-2014

i did it by mudbill video. do everything in his video but instead of a bookshelf put tat secret wall. DONE. rlly easy. i figured it out by myself putting tat secret wall instead of a bookshelf


RE: 2 Levers to open a special (wall) door - Amnesiaplayer - 07-19-2014

yes... before reading you're post i just tried something it worked Big Grin but Thanks Big Grin but i need to use it on 2 other maps... that's DIFFICULT so i will lock the lever in 2 chests Tongue