Difference between revisions of "LlDetectedLinkNumber"

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=40|func_sleep=0.0|func_energy=10.0
|func_id=40|func_sleep=0.0|func_energy=10.0
|func=llDetectedLinkNumber|return_type=integer|p1_type=integer|p1_name=number
|func=llDetectedLinkNumber
|return_type=integer
|p1_type=integer|p1_name=number
|func_footnote=For {{LSLGC|Touch|touch}} and {{LSLGC|Collision|collision}} categories of events only.
|func_footnote=For {{LSLGC|Touch|touch}} and {{LSLGC|Collision|collision}} categories of events only.
|func_desc
|func_desc
Line 11: Line 13:
|helpers
|helpers
|also_functions
|also_functions
|also_events=* {{LSLG|touch_start}}
|also_events={{LSL DefineRow||[[touch_start]]|}}
* {{LSLG|touch}}
{{LSL DefineRow||[[touch]]|}}
* {{LSLG|touch_end}}
{{LSL DefineRow||[[touch_end]]|}}
* {{LSLG|collision_start}}
{{LSL DefineRow||[[collision_start]]|}}
* {{LSLG|collision}}
{{LSL DefineRow||[[collision]]|}}
* {{LSLG|collision_end}}
{{LSL DefineRow||[[collision_end]]|}}
|also_articles=* {{LSLGC|Detected}}
|also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}}
|notes
|notes
|permission
|negative_index=false
|cat1=Link
|cat1=Link
|cat2
|cat2

Revision as of 11:58, 28 February 2007

Summary

Function: integer llDetectedLinkNumber( integer number );

Returns an integer that is the link number of the triggered event. If not supported by the event, returns zero.

• integer number

number does not support negative indexes. For touch and collision categories of events only.

Caveats

  • If number is out of bounds the script continues to execute without an error message.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Events

•  touch_start
•  touch
•  touch_end
•  collision_start
•  collision
•  collision_end

Articles

•  Detected

Deep Notes

Search JIRA for related Issues

Signature

function integer llDetectedLinkNumber( integer number );