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
Double if(GetEntitiesCollide - Problem [SOLVED]
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#5
RE: Double if(GetEntitiesCollide - Problem

Here's an example of the double if statement that Frictional Games used for the book puzzle in the archives (it's actually 3, but I removed the last one so you can compare it to yours easier). It's all one line, each part is separated by "(space)&&(space)", and the second part doesn't have the extra pair of parentheses ().
if(GetLocalVarInt("VarSecretBook_1") == 1 && GetLocalVarInt("VarSecretBook_2") == 1

Hope that helped.

I rate it 3 memes.
07-13-2012, 07:05 PM
Find


Messages In This Thread
RE: Double if(GetEntitiesCollide - Problem - by Adny - 07-13-2012, 07:05 PM



Users browsing this thread: 1 Guest(s)