Difference between revisions of "LlOverParcel"
Jump to navigation
Jump to search
m (lsl code tagging) |
|||
Line 7: | Line 7: | ||
position = Vector in the parcel | position = Vector in the parcel | ||
<lsl> | |||
if (llOverParcel(llDetectedKey(0), llGetPos()) == TRUE) | if (llOverParcel(llDetectedKey(0), llGetPos()) == TRUE) | ||
} | } | ||
llInstantMessage(llDetectedKey(0), "Welcome on my rented land!"); | llInstantMessage(llDetectedKey(0), "Welcome on my rented land!"); | ||
{ | { | ||
</lsl> |
Revision as of 07:36, 4 April 2008
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>