Results 1 to 7 of 7

Thread: MMtoMS better?

  1. #1
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default MMtoMS better?

    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?

  2. #2
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    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.

  3. #3
    Join Date
    Sep 2009
    Posts
    580
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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
    I don't check this place often, sorry.

    Currently working on - Software Engineering degree. Thank you SRL for showing me the one true path

  4. #4
    Join Date
    Dec 2009
    Location
    Newcastle, Australia
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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...

  5. #5
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    ^^ 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

  6. #6
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If I remember correctly, MMToMS already does that..

  7. #7
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •