SRL Archive - Help

SPS_GetMyPos


Mat

2012-01-07 13:52:48

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

2012-01-07 14:05:01

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

2012-01-07 14:47:13

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

2012-01-07 14:52:21

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