I use the following script in the draw actor event to make an actor move:
- Code: Select all
x = x - 5;
or:
- Code: Select all
x = x + 5;
Now how can I make stop him?
I did this: On a timer event I put:
- Code: Select all
x = x - 0;
But it did not work.
x = x - 5;
x = x + 5;
x = x - 0;
x+=5;
x=x+5;
x=x+xmovement;
variable=any number;
xvelocity=1;
xvelocity=0;
Users browsing this forum: No registered users and 1 guest