Results 1 to 3 of 3

Thread: coord's

  1. #1
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default coord's

    So I'm revising my spider fighter. In order to set which attack type to use (i.e. to use attack, strength, defence, or controlled), I want it to mouse over each box, and then use FindTextTPA() to read if it says "Attack", "Defence", "Strength", or "Shared". No matter where you mouse over on the red/gray tile on the combat screen, the yellow box with this information that comes up has static coords; however, i cannot gather the coords of the box i want to search for the text in because when you move away the mouse it makes the yellow box go away =\

    I tried taking a screen shot and pasting it into paint, but when you set the client to the paint window, it tries to take from the entire canvas (not just my image).

    If all else fails there's always reflection, though, but I'd rather do it this way (Trying to get more experience with color).


    EDIT:
    Just to clarify, my final question is how to get the coords :P
    Last edited by TomTuff; 12-02-2010 at 01:59 AM.

  2. #2
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I'll do it..hold on.

    Edit: Wait, I don't see how it is static coords?
    Last edited by Sex; 12-02-2010 at 02:06 AM.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  3. #3
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    I'll do it..hold on.

    Edit: Wait, I don't see how it is static coords?
    mouse over one the squares. no matter which part of the square it's on, the yellow pop up box is in the same spot.

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
  •