Results 1 to 6 of 6

Thread: Help Me Please!!!! = )

  1. #1
    Join Date
    Oct 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help Me Please!!!! = )

    Im havin trouble making my scar script pick up things can some1 help me????

  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    show us the script and add me to msn

  3. #3
    Join Date
    Jun 2007
    Location
    Hell Stream
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  4. #4
    Join Date
    Oct 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm using Scar 3.12

  5. #5
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    To pick things up its good to make your program do this (ive never done this but im pretty sure this is what people do)\

    1. Find the color of the object lying around
    2. findobjectmulti it
    3. mouse(x,y,1,1,false); it
    4. chooseoption('whatever its called'); it <-- i dont know if thats the actual function name, but its something like that
    ~ Metagen

  6. #6
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    FindColorTolerance(x, y, color, x1, y1, x2, y2, tol);
    x, y -> this is where the cords will store it
    x1, y1 left top corner of the place to search
    x2, y2 bottom right corner of place to search
    tol -> tolerance to look with

    if your just trying to get the color not it a script, between the 'step over' and the 'ruber' button there's a color picker

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

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
  •