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
Script Help AddLocalVarInt and valves problems
Ninami Offline
Member

Posts: 59
Threads: 6
Joined: Feb 2012
Reputation: 2
#5
RE: AddLocalVarInt and valves problems

I got a map with the same mechanic. I just add "SetLocalVarInt("Valve", 0);" and then every time you turn a valve you add "AddLocalVarInt("Valve", 1);". Then every time you try to open the door, the "if" statement starts, if("Valve" == 4);{ the door opens } else{ message saying its locked }.
02-16-2012, 06:38 AM
Find


Messages In This Thread
RE: AddLocalVarInt and valves problems - by Ninami - 02-16-2012, 06:38 AM
RE: AddLocalVarInt and valves problems - by jens - 02-16-2012, 09:28 AM
RE: AddLocalVarInt and valves problems - by jens - 02-16-2012, 11:41 AM



Users browsing this thread: 1 Guest(s)