Paraly can you please tell me if there is something wrong with coe start function? I think there is an until that shouldn't be there.
Something is going wrong, when my char glides, the glide ALWAYS works now, BUT strangely the script doesn't take it as if he is gliding, allows my char to glide downwards to the ramp and then tries to execute this command:
MoveTo=1477.025,774.523,1042.675,False,False;
which is the command that puts him in the air ready to start a glide. But he cannot since he is too far (he is in the ramp towards mobs). Where should I place the command:
MoveSmooth=1477,774;
so EVERY TIME the character fails to glide and has to retry it, my char to use that command so he gets to the spot he has to before he levitates in the air?
~~~~~~~~~~~~~~
Also this command:
Code:
MoveTo=1317.068,853.036,1057.048,True,False;
Delay=1000; <---I had to add this
#IF=%POSITION,1317.068/853.036/1057.048;
#ELSE
#EXECUTE=COE;
#ENDIF
should check if he is in the right spot after the glide spots are done and then proceed. I had to add a delay command because the script thought my char was there when he wasn't. I will have to test it again to see if it works with the delay.
~~~~~~~~~~~~~~~~~~~~~~~~~
Also please check the Until commands, there should be three of them, since there are three DO commands right?
Code:
start_COE;
#DO=180000; <-- 1st Do
MoveSmooth=1477,774;
MemWrite=%AddrCamX,-90,FLOAT;
Delay=150;
MoveTo=1477.025,774.523,1042.675,False,False;
Delay=1500;
UseSpeed=1;
MoveTo=1477.025,774.523,1042.675,True,False;
#EXECUTE=WaitForFlightCD;
#3DO=1050; <--2nd Do
SendAction=1,2;
MoveTo=1477.025,774.523,1042.675,False,False;
_3UNTILMemPtrRead=%PlayerBase,%OffsetFlightStatus,BYTE,=1; <--End of 2nd Do
Delay=5;
SendAction=3,32;
#3DO=425; <--3rd Do
MoveTo=1477.025,774.523,1042.675,False,False;
_3UNTILMemPtrRead=%PlayerBase,%OffsetFlightStatus,BYTE,=1 <-- end of 3rd Do
_UNTILMemPtrRead=%PlayerBase,%OffsetFlightStatus,BYTE,=1; <-- end of 1st Do
UseSpeed=200;
MoveTo=1474.25,775.205,1044.358,False,False;
MoveTo=1473.404,775.244,1043.932,False,False;
MoveTo=1472.392,775.291,1047.452,False,False;
MoveTo=1471.162,775.347,1050.995,False,False;
MoveTo=1469.701,775.415,1050.367,False,False;
MoveTo=1468.015,775.493,1053.668,False,False;
_UNTILMemPtrRead=%PlayerBase,%OffsetFlightStatus,BYTE,=1; <--extra until
~~~~~~~~~~~~
Also just to let you know the 2nd spot path has a slight problem, the character is set to pass very close to an obstacle and many times he gets stuck there, in an obstacle right before he enters the little camp area