Difference between revisions of "LlGetLandOwnerAt"

From Second Life Wiki
Jump to navigation Jump to search
m
m (Objects are ostensibly over land.)
Line 16: Line 16:
default {
default {
     state_entry() {
     state_entry() {
           llOwnerSay("The land owner over this object is " + llKey2Name(llGetLandOwnerAt(llGetPos())) + ".");
           llOwnerSay("The land owner under this object is " + llKey2Name(llGetLandOwnerAt(llGetPos())) + ".");
     }
     }
}
}

Revision as of 15:57, 11 December 2015

Summary

Function: key llGetLandOwnerAt( vector pos );

Returns a key that is the land owner at pos.

• vector pos region coordinate

Specification

If the land is in public domain NULL_KEY is returned. This land can be claimed by anyone with available tier. Land on the Preview grid is divvied out this way. Land on the main grid never enters public domain and is instead auctioned off by LL.

If the land is group-owned, the group key is returned (but this isn't usable for anything, since group keys cannot be used by other functions in LSL).

Examples

default {
     state_entry() {
          llOwnerSay("The land owner under this object is " + llKey2Name(llGetLandOwnerAt(llGetPos())) + ".");
     }
}

See Also

Functions

•  llGetParcelDetails

Deep Notes

History

Search JIRA for related Issues

Footnotes

  1. ^ Early release notes were not very accurate or thorough, they sometimes included information about features added in previous releases or failed to include information about features added in that release.

Signature

function key llGetLandOwnerAt( vector pos );