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
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


Messages In This Thread
Is it possible to... - by Amnesiaplayer - 07-18-2014, 08:58 AM
RE: 2 Levers to open a special (wall) door - by Mudbill - 07-18-2014, 01:07 PM
RE: Is it possible to... - by Mudbill - 07-18-2014, 01:11 PM



Users browsing this thread: 1 Guest(s)