Log in

View Full Version : SPS_GetMyPos



Mat
01-07-2012, 06:52 PM
How Can I get the Point out of it? So I can Create a Centre Point for my Chin Script? So it knows where to walk to ?
Mat

Shuttleu
01-07-2012, 07:05 PM
you can put it in a Writeln to print out the location, then you can store it in a TPoint

so

Writeln(SPS_GetMyPos);

then it will writeln the location in the debug box
then you can store it in a TPoint
var
CenterPos: TPoint;

CenterPos:= Point(12345, 134);


~shut
~shut

Mat
01-07-2012, 07:47 PM
Thanks Man :P I worked it out shortly after I posted:/ but with SPS how it is it didn't work very well :(
Mat

Shuttleu
01-07-2012, 07:52 PM
in its current state, it doesnt work very well, and most of the mas are broken at the moment

however, sps 2.0 should be out soon

~shut