script problem... or glitch
Posted: Sun Aug 22, 2010 9:02 pm
Im trying to make a character move, and i have the scripts, but whenever i try to move the character right he still moves left...
x=x-8;ChangeAnimation("Event Actor", "left", FORWARD);
x=x-8;ChangeAnimation("Event Actor" , "right",FORWARD); ---------- this one
y=y-8;ChangeAnimation("Event Actor", "up", FORWARD);
y=y+8;ChangeAnimation("Event Actor", "down", FORWARD);
i have made sure that the scripts are in the right place over and over again but the right one just never seems to work. is there anything wrong with it? or does anyone have another script like this i can use?
x=x-8;ChangeAnimation("Event Actor", "left", FORWARD);
x=x-8;ChangeAnimation("Event Actor" , "right",FORWARD); ---------- this one
y=y-8;ChangeAnimation("Event Actor", "up", FORWARD);
y=y+8;ChangeAnimation("Event Actor", "down", FORWARD);
i have made sure that the scripts are in the right place over and over again but the right one just never seems to work. is there anything wrong with it? or does anyone have another script like this i can use?