Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


#Actuallipsryme

Posted 07 April 2013 - 01:23 PM

I've tried setting them individually, didn't work.

 

@MJP you mean something like this ?:

UPDATE: Yep that works happy.png  thanks.

bool result = false;

if(x <= y)
{
  result = true;
}
else
{
   result = false;
}


return result;

#3lipsryme

Posted 07 April 2013 - 01:22 PM

I've tried setting them individually, didn't work.

 

@MJP you mean something like this ?:

UPDATE: Yep that works ;) thanks.

bool result = false;

if(x <= y)
{
  result = true;
}
else
{
   result = false;
}


return result;

#2lipsryme

Posted 07 April 2013 - 01:17 PM

I've tried setting them individually, didn't work.

 

@MJP you mean something like this ?:

bool result = false;

if(x <= y)
{
  result = true;
}
else
{
   result = false;
}


return result;

#1lipsryme

Posted 07 April 2013 - 01:17 PM

I've tried setting them individually, didn't work.

 

@MJP you mean something like:

bool result = false;

if(x <= y)
{
  result = true;
}
else
{
   result = false;
}


return result;

PARTNERS