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 to add message to a locked swing door
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#8
RE: Script to add message to a locked swing door

(02-04-2012, 01:13 PM)Ninami Wrote: Tbh I don't really understand your code, is it really complete?

I mean, if the door is locked then the VAR is 1, but if it gets unlocked, it's still 1, right?

Don't I need another code for when I unlock the door AddLocalVarInt("DoorLocked", 1); so when it's unlocked it doesn't show the message?

Maybe I'm totally wrong, I just don't understand otherwise :/
oh yea i forgot one part Tongue put this in a code when it's going to unlock SetLocalVarInt("DoorLocked", 0);

I totally forgot that i used that in a puzzle xD


02-04-2012, 01:33 PM
Find


Messages In This Thread
RE: Script to add message to a locked swing door - by SilentStriker - 02-04-2012, 01:33 PM



Users browsing this thread: 1 Guest(s)