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]
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Double if(GetEntitiesCollide - Problem

(07-13-2012, 06:55 PM)beecake Wrote: You are probably right, but the error is still there

Omyn is correct. If statements don't return values, so using the logical AND operator on two if statements won't work. You're supposed to place the condition within the if statement's parenthesis. The condition being the statements that can evaluate to either true or false.

PHP Code: (Select All)
if(GetEntitiesCollide("stone_med01_brown_1""ScriptArea_2") == true
&& GetEntitiesCollide("stone_med01_brown_2""ScriptArea_2") == true

Tutorials: From Noob to Pro
07-13-2012, 06:59 PM
Website Find


Messages In This Thread
RE: Double if(GetEntitiesCollide - Problem - by Your Computer - 07-13-2012, 06:59 PM



Users browsing this thread: 1 Guest(s)