Difference between revisions of "LlOverParcel"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
== It would be great to check if a task is over or on a parcel where the script runs. ==
== It would be great to check if an agent is over a parcel. ==


llOverParcel(vektor posision, integer float);
llOverParcel(key agent, vektor posision);
 
position = Vector in the parcel
agent= Key of an detected agent
 
if (llOverParcel(llDetectedKey(0), llGetPos()) == TRUE)
}
  llInstandMessage(llDetectedKey(0), "Hello!");
{

Revision as of 10:22, 6 July 2007

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

llOverParcel(key agent, vektor posision);

position = Vector in the parcel agent= Key of an detected agent

if (llOverParcel(llDetectedKey(0), llGetPos()) == TRUE) }

  llInstandMessage(llDetectedKey(0), "Hello!");

{