Ed Venture wrote...
I love the compiler. I realy do. If anyone is interested, I got it. It's funny how you can over complicate scripts. I was trying switch and case statements along with every thing else I could think of. Turns out, it was quite simple. Silly Noob.
int StartingConditional ()
{
int iResult = d2();
if(iResult > 1)
return FALSE;
return TRUE;
}
That's it. Only took me 3 months. Now what do I do with my life ? Ed
You can simplify that to:
int StartingConditional ()
{
return d2()==1;
}
EDIT: lol beat to the punch
Modifié par Lightfoot8, 07 février 2013 - 01:59 .