llGetLandOwnerAt

From Second Life Wiki
Revision as of 20:05, 18 February 2008 by Void Singer (talk | contribs) (formatted example)
Jump to navigation Jump to search

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

<lsl> default {

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

}

</lsl>

Deep Notes

Search JIRA for related Issues

Signature

function key llGetLandOwnerAt( vector pos );