integer llOverMyLand(key id)
Returns TRUE if
id is over
land owned by the
script owner, otherwise returns
FALSE. This also works for
group land, assuming the
object is
deeded to the group. It
will not work if the object is not deeded, not even if owned by a member or officer in the group. The object itself needs to be deeded.
Example:
NOTE: This function may return a false positive on an AV that was just ejected from your land into a neighboring sim. (As of June 10, 2006)
NOTE: The false positive condition may be worked around by performing:
In testing, llGetAgentInfo() appears to reliably return a value of 0 when the agent in question is not in the same sim.
Also useful:
llGetLandOwnerAt.
Functions |
Land