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 cranks one door
Russ Money Offline
Senior Member

Posts: 360
Threads: 25
Joined: Dec 2010
Reputation: 4
#2
RE: 2 cranks one door

You'll need to use a local/global int for the doors. Set both variables to 0. When one is pulled, create a timer for 10 seconds, change that lever's variable to 1. When both levers = 1, the door unlocks, remove the timer. If the timer runs out, run a function to change the levers back to 0.

06-04-2011, 05:20 AM
Find


Messages In This Thread
2 cranks one door - by SLAMnesia - 06-04-2011, 05:06 AM
RE: 2 cranks one door - by Russ Money - 06-04-2011, 05:20 AM
RE: 2 cranks one door - by SLAMnesia - 06-05-2011, 10:46 PM



Users browsing this thread: 1 Guest(s)