Results 1 to 8 of 8

Thread: locate multiple identical DTM's

  1. #1
    Join Date
    Nov 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default locate multiple identical DTM's

    i'm using DTM's to locate images on the screen. the command finddtm(x,y...) saves its coordinates as x,y. my question is how can i make it find another after it has found that one. like search again, but pass over that one onto the next.

  2. #2
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Are you using DTMs for mainscreen objects, or inventory objects?

  3. #3
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    (Not entirely sure what you are using)

    With SCAR, you'll have to limit the terrain where you want to search for the DTM so that it does not include the x, y you just found. And repeat this for every DTM where you will have to make the area more and more complex. This is generally not doable.

    With Simba, you can just use FindDTMs, which will give you all the DTM's in the specified area.

    E: Documentation, http://wizzup.org/simbadoc/scriptref/dtm.html I didn't add further descriptions yet but at least there's an overview of the functions online.
    Last edited by Wizzup?; 09-09-2010 at 02:43 PM.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  4. #4
    Join Date
    Nov 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this is not for rs. and thanks wiz i'll look into it

  5. #5
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Finding multiple DTMs is a feature planned for the SCAR Luna series and is indeed currently not supported in SCAR, if you wish to use this feature for now it would indeed be best to use Simba.

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

    Default

    Here is how you can make your own FindAllBitmapsIn or FindAllDTMsIn, but probably not a good idea for large areas.

    http://villavu.com/forum/showthread....map#post108319

  7. #7
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Boreas View Post
    Here is how you can make your own FindAllBitmapsIn or FindAllDTMsIn, but probably not a good idea for large areas.

    http://villavu.com/forum/showthread....map#post108319
    SCAR 3.20+ already comes with FindBitmaps

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

    Default

    Quote Originally Posted by Freddy1990 View Post
    SCAR 3.20+ already comes with FindBitmaps
    Yea, that was from forever ago and works with DTMs too.

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
  •