Difference between revisions of "LlDetectedLinkNumber"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
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= | |also_events={{LSL DefineRow||[[touch_start]]|}} | ||
{{LSL DefineRow||[[touch]]|}} | |||
{{LSL DefineRow||[[touch_end]]|}} | |||
{{LSL DefineRow||[[collision_start]]|}} | |||
{{LSL DefineRow||[[collision]]|}} | |||
{{LSL DefineRow||[[collision_end]]|}} | |||
|also_articles= | |also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}} | ||
|notes | |notes | ||
|cat1=Link | |cat1=Link | ||
|cat2 | |cat2 |
Revision as of 11:58, 28 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llDetectedLinkNumber( integer number );40 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
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.
Examples
See Also
Events
• | touch_start | |||
• | touch | |||
• | touch_end | |||
• | collision_start | |||
• | collision | |||
• | collision_end |
Articles
• | Detected |