Results 1 to 3 of 3

Thread: Help with Colors

  1. #1
    Join Date
    Aug 2007
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with Colors

    I want to simply make a script in Scar to make my mouse follow a certain color, lets say a red dot is moving on the screen, I want the script to make my mouse follow it, I doubt this is hard but I'm not familiar with scar. Any help appreciated.

  2. #2
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    well you wish to have it constantly on the red dot as it moves. you can just do something like
    Code:
    repeat
      findcolor(...);
      mmouse(...);
    until(...);
    now that is VERY basic... so feel free to spice it up. but if you want it a certain radius away from the dot, then that would be harder.
    Last edited by x[Warrior]x3500; 05-20-2009 at 08:33 AM.

  3. #3
    Join Date
    Aug 2007
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by x[Warrior]x3500 View Post
    well you wish to have it constantly on the red dot as it moves. you can just do something like
    Code:
    repeat
      findcolor(...);
      mouse(...);
    until(...);
    now that is VERY basic... so feel free to spice it up. but if you want it a certain radius away from the dot, then that would be harder.
    ACtually, i ahd a crazy idea to cham someones head red in a FPS game and make scar follow the red and i simply hold shoot. =) call me crazy lol
    Edit: I know how to find the color id, but what do I put in mouse(...) and until(...) I'm a script noob lol.

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
  •