why is it looking for a ,

Heres the script its telling me it needs a , not a =

 if (GUI.Button(Rect(30,60,30,30),"0"));
{
     left1.ative = false;
     right1.ative =false;
     top1.ative =false;

     bottem.ative =false;
     bottemleft.ative =false;
     bottomright.ative =false;

     topright.ative =false;
     topleft.ative =false;
     ative = true;
}

left.ative = false is were i says it it it always the top on that gives it even if i move it around

looks like he (or she?) did, but did it wrong. select all the code, and then hit the code button, don't hit the code button and then paste code in

2000 :) [Space filler. Ahh, 15 character minimum.] Well, I fixed his code anyway.

1 Answer

1

You have a semicolon after the if which you really need to remove otherwise it'll never go into your braced section. Most likely this is where the error is coming from

If that's not it (though that is a bug in itself) - is it supposed to be ative and not active?