LlOverParcel

From Second Life Wiki
Revision as of 18:08, 9 July 2008 by Strife Onizuka (talk | contribs) (OverParcel moved to LlOverParcel)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

It would be great to check if an agent is over a parcel.

llOverParcel(key agent, vektor posision); - Should return TRUE or FALSE

agent = Key of an detected agent

position = Vector in the parcel

<lsl>

if (llOverParcel(llDetectedKey(0), llGetPos()) == TRUE)
} 
  llInstantMessage(llDetectedKey(0), "Welcome on my rented land!");
{

</lsl>

See function llOverMyLand