Difference between revisions of "LlDetectedGroup"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function
{{LSL_Function/negative_index|false|number}}{{LSL_Function
|func_id=39|func_sleep=0.0|func_energy=10.0
|func_id=39|func_sleep=0.0|func_energy=10.0
|sort=DetectedGroup
|sort=DetectedGroup|func=llDetectedGroup
|func=llDetectedGroup|return_type=integer|p1_type=integer|p1_name=number
|return_type=integer
|p1_type=integer|p1_name=number
|func_footnote=Returns {{LSLG|FALSE}} if '''number''' is out of range or if the {{LSLGC|Detected|detected}} event does not support this attribute.
|func_footnote=Returns {{LSLG|FALSE}} if '''number''' is out of range or if the {{LSLGC|Detected|detected}} event does not support this attribute.
|func_desc
|func_desc
Line 16: Line 17:
|notes
|notes
|permission
|permission
|negative_index=false
|cat1
|cat2
|cat3
|cat4
}}
}}
{{LSLC|Detected|group}}
{{LSLC|Detected|group}}

Revision as of 10:56, 28 February 2007

Summary

Function: integer llDetectedGroup( integer number );
0.0 Forced Delay
10.0 Energy

Returns an integer that is a boolean representing if the detected object or avatar is in the same group that the prim containing the script is set to.

• integer number

number does not support negative indexes. Returns FALSE if number is out of range or if the detected event does not support this attribute.

Caveats

  • If number is out of bounds the script continues to execute without an error message.

Examples

See Also

Articles

•  Detected

Deep Notes

Signature

function integer llDetectedGroup( integer number );