well move is just
move x,y,speed,options
you know x and y (hopefully) ,and speed is the ammount of seconds to do it in, and there are a ton of options so for now just use this.
to get it to loop do this for example
you start out with this:
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 1,1,1,0.99;
drawaslight;
}
then you just add your move in like this:
if (created) {
setimg light2.png;
dontblock;
}
if (timeout) {
move 10,10,2,4 //the 4 in the options slot makes it stop at a wall
timeout=.5
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 1,1,1,0.99;
drawaslight;
}
Then it will not go on walls it will move 10 tiles and loop.
