SRL Archive - SRL Suggestions

MMtoMS better?


JPHamlett

2010-02-21 14:32:21

Is there a function in srl that can do MMtoMs whithout the compass having to be at north?

if so then that would be amazing and if not the would it be hard to make?

NCDS

2010-02-21 19:11:25

I'm assuming you would just need to adjust the formula accordingly with what direction you are facing. I haven't really looked at the MMToMS functions much.

Cigue

2010-02-21 20:42:14

I wrote a few functions to disregard compass orientation. If you need any help, just PM me with the exact thing you're trying to do :)

Bad Boy JH

2010-02-22 20:51:25

ASSUMING you are getting the MM point from finding an item of the minimap, then MMToMs, should do it fine, don't see why it shouldn't.
If you are using a pre-set MSTpoint…use this line
TPoint := RotatePoint(TPoint, rs_GetAngleRadians, MMCX, MMCY);
then use MMToMS…

JPHamlett

2010-02-22 23:42:46

^^ What that didnt work i got a internal error and then when i fixed that i got a type mismatch can you wirte a scar script that will explain that better

Naike

2010-02-23 08:54:30

If I remember correctly, MMToMS already does that..

Boreas

2010-02-23 10:50:03

Does the MS not rotate along with the MM? If they rotate by the same angle, then why does it have to be north?