Results 1 to 5 of 5

Thread: FindFishSpotsTPA

  1. #1
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default FindFishSpotsTPA

    I know FindFishSpotsTPA can be used to return the Boolean of wither there are no spots or at least found one. But how can i use it to compare like so?:
    SCAR Code:
    if FindFishSpotsTPA(TPA) > 1 then Writeln('There is more than one fishing spot.');

    ~DeSnob

  2. #2
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    well i might be wrong but it would always return more than one cause it would find the same on over and over again

  3. #3
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Not if you call it once, and that's what i plan to do.

  4. #4
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    I think you'd have to use it like this:
    SCAR Code:
    if FindFishSpotsTPA(TPA) then
      if Length(TPA) > 1 then
        Writeln('More than one spot was found!')
      else
        Writeln('Only one spot was found.');
      end;

  5. #5
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Yeah, that's it. Thanks

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
  •