Jump to content

Getting names of ADJACENT regions?


Restless Swords
 Share

You are about to reply to a thread that has been inactive for 2270 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

http://wiki.secondlife.com/wiki/Linden_Lab_Official:Map_API_Reference#Region_name_from_global_coordinates

would look like this:

vector vP = llGetRegionCorner() / 256 + <-1,1,0>; // NW region = <-1,1,0>gkReq = llHTTPRequest("https://cap.secondlife.com/cap/0/b713fe80-283b-4585-af4d-a3b7d9a32492?var=varName&grid_x="+(string)vP.x+"&grid_y="+(string)vP.y, [], "");

Contray to what the wiki page is saying, the cap is currently working for me with LSL.

However, there is also an alternative at http://gridsurvey.com/api.php.

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2270 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...