Results 1 to 3 of 3

Thread: ehm somthing with getdoorcolor

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

    Default ehm somthing with getdoorcolor

    if i put
    getdoorcolor;//its searchers for the door color on mm and then it safes were?

    it says uknown thingy in script
    if i do getdoorcolor:integer;

    assignment exspected in script :\

    and how to use it to open a
    door where he safes the doorcolor
    getdoorcolor
    if colortolerance shit ,doorcolor he safes it in doorcolor?
    ~Hermen

  2. #2
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Make sure you have version in the thread you posted on.

    GetDoorColor was designed to be internal, IE it is used by GetDoors, and you use GetDoors. However you can use GetDoorColor if you want, especially if there is only 1 door on the minimap.

    Declare a variable,
    SCAR Code:
    var tmpInt,tmpx,tmpy: integer;

    Set it to GetDoorColor

    SCAR Code:
    tmpint := GetDoorColor;
    Then use the variable with a FindColor
    SCAR Code:
    FindColor(tmpx,tmpy,tmpInt,mmx1,mmy1,mmx2,mmy2)

    Click the door on the minimap

    SCAR Code:
    Mouse(tmpx,tmpy,1,1,true);

    Then get a good view

    SCAR Code:
    LowestAngle;
    MakeCompass('n'); //depending
    Then use a color/bmp/dtm (specific to different towns), or mouse around the center of the screen looking for uptext 'oor'. Once found, if uptext contains 'lose', then continue, otherwise, click to open and then continue.

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

    Default

    thanks wow confusing
    ~Hermen

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how to use getdoorcolor;
    By ShowerThoughts in forum OSR Help
    Replies: 5
    Last Post: 08-25-2007, 07:50 PM
  2. Somthing that could get us banned quicker...
    By The Un-Named in forum News and General
    Replies: 5
    Last Post: 06-10-2006, 03:38 AM

Posting Permissions

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