Results 1 to 7 of 7

Thread: If is in minimap?

  1. #1
    Join Date
    Oct 2009
    Location
    Melb, Australia
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default If is in minimap?

    Is there an existing function that will tell me if an x,y coordinate is in the minimap area?
    (Full 360 degrees circle area)

  2. #2
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    1,124
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Did you check the SCAR manual? Did you check the SRL files? They usually have a collection of functions.

  3. #3
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    SCAR Code:
    function rs_OnMiniMap(x, y: Integer): Boolean
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  4. #4
    Join Date
    Aug 2009
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you want to find like a DTM on the minimap then do:
    if FindDTMRotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2) then

  5. #5
    Join Date
    Oct 2009
    Location
    Melb, Australia
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Capricorn View Post
    Did you check the SCAR manual? Did you check the SRL files? They usually have a collection of functions.
    Sorry, I tried searching the forums though.
    Quote Originally Posted by Nava2 View Post
    SCAR Code:
    function rs_OnMiniMap(x, y: Integer): Boolean
    Thank you!
    Quote Originally Posted by ohaidar View Post
    If you want to find like a DTM on the minimap then do:
    if FindDTMRotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2) then
    Yeah I am using the MM boundries for the search, but once it has found the image I wanted to subtract a certain distance and see if that is still in the minimap boundaries.

  6. #6
    Join Date
    Jul 2008
    Location
    Lithuania/Norway
    Posts
    90
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you can use road walk. best way on minimap
    example:
    PHP Code:
    function WalkTospotBoolean;
    begin
      makecompass
    ('n');
      if 
    not LoggedIn then Exit;
      
    SetRun(True);
      
    Result := RadialWalk(scolor12215717021);
      if 
    Result then
      begin
        Writeln
    ('');
        
    Wait(80 Random(100));
        
    FFlag(3);
    end
    and scolor1 to const

  7. #7
    Join Date
    Aug 2009
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by code841 View Post
    Yeah I am using the MM boundries for the search, but once it has found the image I wanted to subtract a certain distance and see if that is still in the minimap boundaries.
    Oh ok

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
  •