Results 1 to 9 of 9

Thread: Use of FindText?

  1. #1
    Join Date
    Jul 2007
    Location
    Pluto... Maybe?
    Posts
    198
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Use of FindText?

    just wondering is this the correct way to use findtext?

    SCAR Code:
    FindText(x, y, 'texthere', font, MSX1, MSY1, MSX2, MSY2);

    i want to use it but not sure if this is correct also i dont know the font to put in =/

    also id just like to get your opinion on ddtm walking? and how can i make it go to the next ddtm before it reaches flag, i tried increasing FFLAG(); but it didnt help?
    Last edited by pl0xmypl0x; 08-29-2009 at 07:38 PM.

  2. #2
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Mind to post an image of the text you are trying to find?

    Richard.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  3. #3
    Join Date
    Jul 2007
    Location
    Pluto... Maybe?
    Posts
    198
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    sure



    (not all the text)

  4. #4
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    I'm not sure of all of the fonts myself, but an easy way of checking if that is there would be to make a bitmap.

    Something like this would be fine:


    Richard
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  5. #5
    Join Date
    Jul 2007
    Location
    Pluto... Maybe?
    Posts
    198
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok thanks do you have an idea how to make it go to the next ddtm before it reaches the flag? i tried altering fflag but it didnt work? Or will it not work because the ddtm needs to load and find the colours?

  6. #6
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    You could do
    SCAR Code:
    while FlagDistance > XXX do
      Wait(Random(150));
    ThenYourDDTMBits;

    Richard.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  7. #7
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    To find out how to use FindText, refer to my tutorial:

    http://www.villavu.com/forum/showthread.php?t=31983

  8. #8
    Join Date
    Jan 2008
    Location
    Frankfurt, Germany
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    if FindText(x, y, 'wood do you', upchars, MSX1, MSY1, MSX2, MSY2) then
    begin
      {...}
    end;
    that should work, it is the same font as a bank window or a store window.
    There is nothing right in my left brain and there is nothing left in my right brain.

  9. #9
    Join Date
    Jul 2007
    Location
    Pluto... Maybe?
    Posts
    198
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks thats the correct font

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
  •