LlDetectedName

From InWorldz Wiki
Jump to: navigation, search

Scripting Wiki

InWorldz Functions | LSL Functions | Bot / NPC Functions | Events | Bot Events | Types | Operators | Constants | Flow Control | Glossary

Function: string llDetectedName( integer number);

Returns a string that is the name of the detected item.

Arguments
integer number = Index of the avatar/object touching the prim.
Returns
string = name of the object or avatar that was detected


Important Notes



Important Issues - View All - Search Mantis for related Bugs


Examples

default
{
   state_entry()
   {
       // code goes here
   }
   touch_start( integer num_detected)
   {
       llOwnerSay( "Touched by "+ llDetectedName(0)");
   }
}
   // Returns "list of strings"

General Notes

See Also

 

Functions
llDetectedGroup
llDetectedKey
Events
touch_start
touch
touch_end
collision_start
collision
collision_end



Need more Info? - Try the LSLWiki or the Second Life LSL Portal.