_L_
08-29-2006, 11:22 AM
Hey guys, can you help me find out what's wrong with this script?
WAIT WAITFRAME
COMPARER lx,x
GOTOLESS A
COMPAREV xd,0.5
GOTOMORE MORE
ADDV xd,0.1
MORE COMPARER ly,y
GOTOLESS B
COMPAREV yd,0.5
GOTOMORE WAIT
ADDV yd,0.1
GOTO WAIT
A COMPAREV xd,-0.5
GOTOLESS MORE
SUBV xd,0.1
GOTO WAIT
B COMPAREV yd,-0.5
GOTOLESS WAIT
SUBV yd,0.1
GOTO WAITIt's supposed to provide a different kind of homing capability to an FFC, using speed instead of position, and with upper and lower caps on both speed values. Just attach it to an FFC yourself and see how it goes wrong, then maybe tell me what the problem is.
WAIT WAITFRAME
COMPARER lx,x
GOTOLESS A
COMPAREV xd,0.5
GOTOMORE MORE
ADDV xd,0.1
MORE COMPARER ly,y
GOTOLESS B
COMPAREV yd,0.5
GOTOMORE WAIT
ADDV yd,0.1
GOTO WAIT
A COMPAREV xd,-0.5
GOTOLESS MORE
SUBV xd,0.1
GOTO WAIT
B COMPAREV yd,-0.5
GOTOLESS WAIT
SUBV yd,0.1
GOTO WAITIt's supposed to provide a different kind of homing capability to an FFC, using speed instead of position, and with upper and lower caps on both speed values. Just attach it to an FFC yourself and see how it goes wrong, then maybe tell me what the problem is.