Results 1 to 3 of 3

Thread: FindColorSpiral - Question

  1. #1
    Join Date
    Dec 2006
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default FindColorSpiral - Question

    Hi guys, just looking through some scripts that ive picked up, and im trying to make sense / learn what ever i can.

    Could someone explain to me the FindColorFunction ?

    if(FindColorSpiral(mousex,mousey,(tree),5,5,515,33 7))then

    Im ok with the If statement, the mouse movements and the tree varible.
    However, im lost at the 5,5,515,337 part - what exactly do these relate to ?

    Why is this a FindColorSpiral and not simply FindColor ?
    What is the advantage of using this ?

    Any tutorials on mouse movements / colour picking is much appreciative.
    (more involved than Wiki, if possible)

    Regards

    l0p0lz

  2. #2
    Join Date
    Aug 2006
    Location
    London
    Posts
    2,021
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    the 5,5,33,43 are the box that the color will be search for in, the first two describe the top-left corner, the last two describe the bottom-right

    findcolorspiral is the same as findcolor except it starts from the point var x,y and searches for the color spiraling out, findcolor just searches from the top-left of the box your specify
    Join the Official SRL IRC channel. Learn how to Here.

  3. #3
    Join Date
    Dec 2006
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks alot man, no sooner had i posted this question i also came across this previous tutorial post:

    http://www.villu-reborn.com/showthread.php?t=2455

    Anyway. Guys if your looking for some answers on the basics check here first !

    *Wish i had spent more time looking myself*

    Thanks for the quick reply

    l0p0lz

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. No FindColorSpiral in SRL 4?
    By pianoman933 in forum OSR Help
    Replies: 5
    Last Post: 09-23-2008, 01:13 AM
  2. [.net]FindColorSpiral
    By SlashShot in forum C#/Visual Basic Help and Tutorials
    Replies: 0
    Last Post: 12-23-2007, 04:50 PM
  3. FindColorSpiral problem
    By Kave in forum OSR Help
    Replies: 6
    Last Post: 09-09-2007, 06:16 PM
  4. FindColorSpiral Question
    By PwNZoRNooB in forum OSR Help
    Replies: 11
    Last Post: 04-16-2007, 06:39 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
  •