Difference between revisions of "LlDetectedTouchFace"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL_Function/negative_index|false|number}}{{LSL_Function |func_id |mode=request |func_sleep=0.0 |func_energy=10.0 |func=llDetectedLinkFace |sort=DetectedLinkFace |p1_type=integer|p1_name...)
 
m (requests don't belong in official categories, well built request otherwise.)
Line 1: Line 1:
{{LSL_Function/negative_index|false|number}}{{LSL_Function
{{LSL_Function/negative_index|false|number|self=*}}{{LSL_Function
|func_id
|func_id
|mode=request
|mode=request
Line 6: Line 6:
|func=llDetectedLinkFace
|func=llDetectedLinkFace
|sort=DetectedLinkFace
|sort=DetectedLinkFace
|p1_type=integer|p1_name=number|p1_desc=number
|p1_type=integer|p1_name=number|p1_desc=touch index
|func_footnote=For the {{LSLGC|Touch|touch}} category of events only.
|func_footnote=For the {{LSLGC|Touch|touch}} category of events only.
|func_desc
|func_desc
Line 22: Line 22:
|also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}}
|also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}}
|notes=Should reduce prim-count for all button based gadgets. The data seems to be available anyway; it's used in the texture-selection mode of the object-"Edit"
|notes=Should reduce prim-count for all button based gadgets. The data seems to be available anyway; it's used in the texture-selection mode of the object-"Edit"
|cat1=Face
|cat1
|cat2=Link
|cat2
}}
}}

Revision as of 19:04, 7 August 2007

Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: integer llDetectedLinkFace( integer number );
REQUEST Function ID
0.0 Forced Delay
10.0 Energy

Returns an integer that is the number of the face the avatar clicked on. If not supported by the event, returns -1

• integer number touch index

number does not support negative indexes. For the touch category 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

Notes

Should reduce prim-count for all button based gadgets. The data seems to be available anyway; it's used in the texture-selection mode of the object-"Edit"

See Also

Events

•  touch_start
•  touch
•  touch_end

Functions

•  llDetectedLinkNumber

Articles

•  Detected

Deep Notes

Search JIRA for related Issues

Signature

//function integer llDetectedLinkFace( integer number );