Script Editor won't accept Code cause "Illegal Syntax"
Posted: Fri May 29, 2015 2:43 pm
So I'm busy putting a new Octopus Together and the movements will play out in State Method only problem the code wasn't accepted and I have no way of verifying why as I have declared all the variables and checked the code repeatedly....
- Code: Select all
switch(STATE)
{
case 0:
ChangeAnimation("Event Actor", "StillLeft", NO_CHANGE);
STATE=1;
break;
case 1:
ChangeAnimation("Event Actor", "MoveLeft", NO_CHANGE);
STATE=3;
break;
case 2:
ChangeAnimation("Event Actor". "StillLeft", NO_CHANGE);
STATE=1;
break;
case 3:
break;
case 4:
ChangeAnimation("Event Actor", "JumpLeft", NO_CHANGE);
STATE=5;
break;
case 5:
break;
case 6:
ChangeAnimation("Event Actor", "FallLeft", NO_CHANGE);
STATE=7;
break;
case 7:
break;
}
x-=2;