Results 1 to 6 of 6

Thread: First Script, Need a bit of help for some commands

  1. #1
    Join Date
    Sep 2007
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default First Script, Need a bit of help for some commands

    Okay, I will get straight to business:

    1) when I use the "bitmap to string", of an oak tree (I made the background black like it said I should), and then press paste and okay, I get endlessly long numbers, which stretch over 1012 lines long, did I do anything wrong there? is it normal? if not, how can i change it?

    2) well, I was wondering if the is a tolerance for bitmaps, like there is for colors... If so, please tell me the command

    3) I found some commands on how to change the "view", by that I mean rotate the screen and compass, but have no clue what-so-ever on how to use them, the manual wasn't very clear on that.

    4) how can you tell SCAR to press buttons like "ENTER" or "TAB" or "LEFT, UP, DOWN, and RIGHT (arrow keys)" etc?

    Well, thats all for now, I might add some more when I advance with my script. Sorry if these questions have been answered a dozend times already for other people, or if these questions sound noobish, but I am not leeching of anyones script, and it is pretty hard to start out using nothing but tuts.

    Thanks a lot in advance.

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

    Default

    dude you cant double post but you posted a double thread!!:s
    ~Hermen

  3. #3
    Join Date
    Sep 2007
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    sorry, didn't mean to double post, I deleted the other post now.
    Didn't even realize i double posted.

  4. #4
    Join Date
    Sep 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ??

  5. #5
    Join Date
    Mar 2007
    Location
    MN
    Posts
    63
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    question #3
    theres commands like


    SCAR Code:
    MakeCompass('N')
    MakeCompass('E')
    MakeCompass('S')
    MakeCompass('W')

    I'm not shure if you have to include anything or not, like srl/srl.scar

  6. #6
    Join Date
    Aug 2007
    Posts
    1,404
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    1) Big bitmaps are VERY big in SCAR.

    2) There is a function called FindBitmapToleranceIn, and yes, the tolerance is like for colors.

    3) To changes the view use what was posted above with MakeCompass.

    4)
    SCAR Code:
    SendKeysVB('{ENTER}',true)
    SendKeysVB('{TAB}',true)
    SendKeysVB('{RIGHT}',true)
    SendKeysVB('{LEFT}',true)
    SendKeysVB('{UP}',true)
    SendKeysVB('{DOWN}',true)
    I think you can figure out which are for what

    -Knives

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need some help with commands
    By godspower55 in forum OSR Help
    Replies: 3
    Last Post: 10-16-2008, 12:29 AM
  2. All SRL commands
    By Gala in forum OSR Help
    Replies: 5
    Last Post: 10-10-2007, 01:37 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
  •