Difference between revisions of "LlOverParcel"

From Second Life Wiki
Jump to navigation Jump to search
(New page: == It would be great to check if a task is over or on a parcel. == llOverParcel(vektor posision, integer float);)
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== It would be great to check if a task is over or on a parcel. ==
== It would be great to check if an agent is over a parcel. ==


llOverParcel(vektor posision, integer float);
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]]

Latest revision as of 18:08, 9 July 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>

See function llOverMyLand