Difference between revisions of "LlAgentInExperience"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m |
m (Replaced <source> with <syntaxhighlight>) |
||
Line 14: | Line 14: | ||
|also_functions= | |also_functions= | ||
*[[llGetExperienceDetails]] | *[[llGetExperienceDetails]] | ||
|examples=< | |examples=<syntaxhighlight lang="lsl2"> | ||
default | default | ||
{ | { | ||
Line 28: | Line 28: | ||
} | } | ||
} | } | ||
}</ | }</syntaxhighlight> | ||
|cat1=Experience | |cat1=Experience | ||
}} | }} |
Latest revision as of 04:20, 5 May 2024
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");
}
}
}