Difference between revisions of "LlAgentInExperience"
Jump to navigation
Jump to search
m |
m |
||
Line 13: | Line 13: | ||
|also_functions= | |also_functions= | ||
*[[llGetExperienceDetails]] | *[[llGetExperienceDetails]] | ||
|examples=<lsl>default | |examples=<lsl> | ||
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"); | |||
} | |||
} | |||
}</lsl> | |||
|cat1=Experience | |cat1=Experience | ||
}} | }} |
Revision as of 09:02, 20 July 2014
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llAgentInExperience( key agent );Caveats
Examples
<lsl> 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"); } }
}</lsl>