if & else
Posted: April 10th, 2010, 12:29 pm
I'm creating a script with "if"in it.
so i have
but i wan't to have something executed if he is not touching the trigger to.
i tried with else { but it gave a script compile error can anyone tell me how to do this?
so i have
Code: Select all
if(user isTouching(trigger))
//do things//
i tried with else { but it gave a script compile error can anyone tell me how to do this?