Results 1 to 4 of 4

Thread: auto color picking.

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

    Default auto color picking.

    can someone teach me how to do this?

    my msn is troy.cos@hotmail.com

    ps i think it might be somthing like:
    Code:
    procedure pickcolors;
    begin
      findcolorspiraltolerance(knowncolor, MSX1, MSY1, MSX2, MSX2, Tol)
      getmousepos(x,y)
      getcolor(x,y, newcolor)  ??
    end;

  2. #2
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    PHP Code:
    If(FindColorSpiralTolerance(xyA_SIMILAR_COLOR_TO_WHAT_YOU_WANTMSX1MSY1MSX2MSX2THE_MAX_TOL_TO_SEARCH)then
    Begin
      MMouse
    (xy00False);
      
    GetMousePos(xy);
      
    TheColor := GetCOlor(xy);
    end
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  3. #3
    Join Date
    Nov 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

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

    Default

    alright thanks... now if i want to to find say 3 colors of one thing would i do that 3 diferent times with 3 diferent colors as A_SIMILAR_COLOR_TO_WHAT_YOU_WANT

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Color Picking Tutorial
    By Sdcit in forum OSR Outdated Tutorials
    Replies: 13
    Last Post: 12-17-2008, 09:56 AM
  2. Help With AUTO COLOR
    By NCDS in forum OSR Help
    Replies: 5
    Last Post: 10-08-2008, 07:11 PM
  3. Color picking help needed!!!
    By yanix in forum OSR Help
    Replies: 12
    Last Post: 08-29-2007, 08:54 PM
  4. is it possible to auto color....
    By yanix in forum OSR Help
    Replies: 2
    Last Post: 07-28-2007, 04:58 PM

Posting Permissions

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