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
Adding messages to a locked door?
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#6
RE: Adding messages to a locked door?

Instead of: if(GetSwingDoorLocked("castle_1") == true)

Use: if(GetSwingDoorLocked("castle_1"))

It comes back as "true," and that's what triggers the if statement. Operations like == are only used for numbers.

(This post was last modified: 06-25-2012, 08:00 AM by Damascus.)
06-25-2012, 07:57 AM
Find


Messages In This Thread
Adding messages to a locked door? - by Jagsrs28 - 06-25-2012, 06:24 AM
RE: Adding messages to a locked door? - by Damascus - 06-25-2012, 07:57 AM



Users browsing this thread: 1 Guest(s)