Results 1 to 4 of 4

Thread: Get colour mouse is over?

  1. #1
    Join Date
    Aug 2006
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Get colour mouse is over?

    Im making an ess miner, and i have a mouse procedure that searches the screen till it finds IsUpTestMulti, but when it fnds the ess, the coord will obveiusly change, because hte character has moved to mine the ess, so i need a function of some sort to get the colour the mouse is over

    THanks

    ~Bigfish

  2. #2
    Join Date
    Feb 2006
    Location
    Australia, NSW.
    Posts
    1,461
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Code:
    function MouseCol: Integer;
    var x, y: Integer;
    begin
      GetMousePos(x, y);
      Result:= GetColor(x, y);
    end;

  3. #3
    Join Date
    Aug 2006
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  4. #4
    Join Date
    Aug 2006
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. RadialWalk colour?
    By StrikerX in forum OSR Help
    Replies: 8
    Last Post: 04-22-2008, 10:47 PM
  2. Colour Picking
    By r4ndom in forum OSR Help
    Replies: 1
    Last Post: 12-11-2006, 06:17 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
  •