Skip to content

llAgentInExperience

Requires Experience
integer llAgentInExperience(key AgentID)

Returns TRUE if the agent is in the Experience and the Experience can run in the current location.

Parameters
AgentID(key)
default
{
touch_start(integer total_number)
{
if(llAgentInExperience(llDetectedKey(0)))
{
llOwnerSay(llDetectedName(0)+ " is in my experience");
}
else
{
llOwnerSay(llDetectedName(0)+ " is not in my experience");
}
}
}
  • Agent must be over a parcel that has the Experience allowed or FALSE is returned with Land Scope Experience compiled scripts.