Results 1 to 4 of 4

Thread: Need help with something.

  1. #1
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default Need help with something.

    Im making a script.

    Ok i made it that if it cant find a symbol it looks for another one but, how do i make it keep moving to the east a little bit till it finds the symbol.

    Heres my diagram.
    THE ... ARE NOTHING DW ABOUT THEM!

    _____________
    |;;;;;;;;|;;;;:::|.........................[KEY]
    |;T;;;;;;|;;S1;;|......................T = Tree
    |---|;;;;|-----|......................S = Symbol
    |S:S|;;;;|..............................- and | = Buildings and stuff.
    -----....................................C = me
    ....... C...............................S1 = Symbol 1
    .........................................; = The floor ( Had to add this because ..........................................then the digram stuffs up.

    Im going South. My script clicks on S1 Symbol. then tries clicking the T symbol, but sometimes its to far away to click the T symbol.
    How would i make it just click a little bit towards the T so it can see the tree symbol?

  2. #2
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You Could try using RadialWalk(...), Then FindSymbol(...).

    Or you could just make a failsafe, like this

    SCAR Code:
    Tries := Tries + 1
        if (Tries = 10)then
        begin
          Writeln('Could not find Symbol...');
          Exit;
        end;
      until (FindSymbol(x, y,'Symbol'))

    Declare Tries as a var (Integer)


    Someone: 'Who the hell is TooManySitUps?'

    Boreas: 'Switch the first and last letter of my name, what do you get?'

    Someone: 'Um, SoreAb?'

    Boreas: 'And how do you get that?'

    Someone: 'From Too Many Sit Ups!! Haha, Boreas you are so clever!'

    Boreas: 'Ya he's like my evil twin that takes over when I'm being really sarcastic, or playing devil's advocate.'

  3. #3
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Your chopping yews in edgeville, would have been easier to say that. How about using a precision dtm for the corner of the inner house and clicking there there for making you end up some where in the middle of the house, then you can drop the camera down a bit and spin it till you find a yew color.

  4. #4
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Hmm, i think i fixed the problem.

    Thanks for helping out though.

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
  •