NexPB
2012-01-04 08:40:12
How can I check my player is at a dtm? (on minimap)
2012-01-04 08:40:12
2012-01-04 09:00:01
dtmrotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2); 2012-01-04 09:01:19
From: Shuttleu
dtmrotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2);
~shut
2012-01-04 09:02:36
2012-01-04 09:08:54
2012-01-04 09:17:29
From: Jhangir
I think he means to check if you have arrived at your dtm point?
I think:
If dtmrotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2) Then
WriteLn('Arrived at DTM");
2012-01-04 09:22:24
2012-01-04 09:22:55
If dtmrotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2) Then
if (Distance(x, y, MMCX, MMCY)<=20)) then
Writeln('We have arrived');
2012-01-04 09:27:39
From: Shuttleu
oh, well do a DTMRotated
then check to see if x, y is within a certain didtance
If dtmrotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2) Then
if (Distance(x, y, MMCX, MMCY)<=20)) then
Writeln('We have arrived');
~shut
2012-01-04 17:44:37