Difference between revisions of "LlAgentInExperience"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m |
m |
||
Line 8: | Line 8: | ||
|return_subtype=boolean | |return_subtype=boolean | ||
|return_text=that is [[TRUE]] if the {{LSLPT|agent}} is in the experience and the experience can run in the current region. | |return_text=that is [[TRUE]] if the {{LSLPT|agent}} is in the experience and the experience can run in the current region. | ||
|caveats=*Agent must be over a parcel that has the Experience allowed or FALSE is returned with Land Scope Experience compiled scripts. | |||
|p1_type=key | |p1_type=key | ||
|p1_name=agent | |p1_name=agent |
Revision as of 17:34, 25 March 2015
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llAgentInExperience( key agent );Caveats
- Agent must be over a parcel that has the Experience allowed or FALSE is returned with Land Scope Experience compiled scripts.
Examples
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");
}
}
}