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
2 Levers to open a special (wall) door
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#1
Is it possible to...

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
(This post was last modified: 07-18-2014, 09:16 AM by Amnesiaplayer.)
07-18-2014, 08:58 AM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#2
2 Levers to open a special (wall) door

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
07-18-2014, 10:51 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#3
RE: 2 Levers to open a special (wall) door

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

You are to use Global Variables.
https://wiki.frictionalgames.com/hpl2/am...s[]=global

Discord: Romulator#0001
[Image: 3f6f01a904.png]
07-18-2014, 12:54 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: 2 Levers to open a special (wall) door

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.

07-18-2014, 01:07 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#5
RE: Is it possible to...

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

07-18-2014, 01:11 PM
Find
victorkim890(KimmyChimmy) Offline
Senior Member

Posts: 316
Threads: 1
Joined: Jun 2014
Reputation: 1
#6
RE: 2 Levers to open a special (wall) door

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

07-18-2014, 06:18 PM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#7
RE: 2 Levers to open a special (wall) door

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
(This post was last modified: 07-18-2014, 07:45 PM by Amnesiaplayer.)
07-18-2014, 07:20 PM
Find
victorkim890(KimmyChimmy) Offline
Senior Member

Posts: 316
Threads: 1
Joined: Jun 2014
Reputation: 1
#8
RE: 2 Levers to open a special (wall) door

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

07-18-2014, 09:38 PM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#9
RE: 2 Levers to open a special (wall) door

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
07-19-2014, 07:30 AM
Find




Users browsing this thread: 1 Guest(s)