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
How to make a make a door that need two keys to unlock it?
Anxt Offline
Senior Member

Posts: 588
Threads: 12
Joined: Mar 2011
Reputation: 10
#6
RE: How to make a make a door that need two keys to unlock it?

(03-07-2011, 07:57 PM)Pandemoneus Wrote:
SetLocalVarInt("KeysUsed", GetLocalVarInt("KeysUsed")+1);

AddLocalVarInt("KeysUsed", 1); would do the same. Wink

Really? As in, that adds 1 to the counter? For some reason I assumed "AddLocalVarInt" meant create a new one, which now that you point it out, I realize that would be redundant.

This is why I am terrible at coding! Big Grin

03-07-2011, 08:02 PM
Find


Messages In This Thread
RE: How to make a make a door that need two keys to unlock it? - by Anxt - 03-07-2011, 08:02 PM



Users browsing this thread: 2 Guest(s)