Page 1 of 1

what can you use for "or"

PostPosted: Sun Nov 05, 2006 10:38 pm
by magic_maxwell2
I need to know what you could us as or in someting like

if(animindex==3 "or" animindex==2)

PostPosted: Sun Nov 05, 2006 11:33 pm
by makslane
Use the C syntax:

Or: ||
And: &&

Code: Select all
if(animindex==3 || animindex==2)
{
    //Your command here
}