Difference between revisions of "LlDetectedKey"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m |
|||
Line 10: | Line 10: | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples | |examples= | ||
default | default | ||
{ | { | ||
touch_start(integer number) | touch_start(integer number) | ||
{ | { | ||
llSay(0," | llSay(0, "The key to who touched me is: " +(string)llDetectedKey()); | ||
} | } | ||
} | } | ||
|helpers | |helpers | ||
Line 24: | Line 24: | ||
|notes | |notes | ||
|permission | |permission | ||
}} | |cat1 | ||
{{LSLC|Detected|key}} | |cat2 | ||
|cat3 | |||
|cat4 | |||
}}{{LSLC|Detected|key}} |
Revision as of 08:46, 27 May 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: key llDetectedKey( integer number );32 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a key that is the UUID of the detected object or avatar number.
• integer | number |
number does not support negative indexes. Returns an empty key if number is not valid sensed object or avatar.
Caveats
- If number is out of bounds the script continues to execute without an error message.
Examples
default {
touch_start(integer number) { llSay(0, "The key to who touched me is: " +(string)llDetectedKey()); }}
See Also
Articles
• | Detected |