ID:951917
 
(See the best response by Albro1.)
Code:
                    step_towards(C,M)
step_towards(C,M)
step_towards(C,M)


Problem description:

hi guys, new google translator d ..

simple problem .. i need a obj walk 3 steps up the enemy ..
I did so

C: object
M: enemy

however apparently he only giving this 1 step ..

anyone have any solution?
var/n=num//Change this to desired amount.
while(n)//While steps remain,
step_to(C,M)//Take them,
sleep(num)//And wait however long you choose before. taking the next
//Action to preform after walking set amount of steps.


I'm not exactly sure calling step_towards() three times in a row like that reads properly; it might need a delay between it.
Best response
step_towards() returns a value, so instead of using a random delay, you can try this:

var n = 1
while(n <= 3)
if(step_towards(C, M))
n++
continue
else
break