|
CB Sodwind
Registered User
Join date: 23 Nov 2006
Posts: 5
|
11-13-2007 08:39
Does anyone know if there is a way for a script to tell if land is Linden owned of private. I've searched all the region / land functions I can find and nothing seems to provide this info.
TIA
|
|
Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
|
11-13-2007 13:15
yes there is a way, not sure off the top of my head how to make it
|
|
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
|
11-13-2007 14:50
Seems you could just check who owns the land using llGetLandOwnerAt(). it will return the key of who owns the land. Linden owned land is owned by Governor Linden. His/Her key is 3d6181b0-6a4b-97ef-18d8-722652995cf1
|
|
CB Sodwind
Registered User
Join date: 23 Nov 2006
Posts: 5
|
11-13-2007 19:21
From: Darien Caldwell Seems you could just check who owns the land using llGetLandOwnerAt(). it will return the key of who owns the land. Linden owned land is owned by Governor Linden. His/Her key is 3d6181b0-6a4b-97ef-18d8-722652995cf1 Thanks for the reply, but what I am really after is whether or not the tier is paid to Linden or to a private party. Basically, is it mainland or a private island.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
11-13-2007 23:35
I suppose you could set up bounds, since mainland is all connected (well by continent anyways).. if the sim isn't in those world coordinate bounds, it must be an island you could try if (llGetRegionFlags( ) & 12  to see if the land cannot be resold, released, or bought... dunno the correlative results... there are some other odd flags you can test in there as well past that the only way I see to test is to have a refrence list of one or the other, and check the simname against that
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|