Difference between revisions of "LlDetectedGrab"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 6: Line 6:
|func_footnote=Returns {{LSLG|ZERO_VECTOR|<0.0, 0.0, 0.0>}} if '''number''' is out of range or if the {{LSLGC|Detected|detected}} event does not support this attribute.
|func_footnote=Returns {{LSLG|ZERO_VECTOR|<0.0, 0.0, 0.0>}} if '''number''' is out of range or if the {{LSLGC|Detected|detected}} event does not support this attribute.
|func_desc
|func_desc
|return_text=that is the {{LSLG|grab}} offset of the user {{LSLGC|Touch|touching}} object.
|return_text=that is the {{LSLG|grab}} offset of the user {{LSLGC|Touch|touching}} the object.
|spec
|spec
|caveats
|caveats

Revision as of 10:31, 14 November 2007

Summary

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

Returns a vector that is the grab offset of the user touching the object.

• integer number

number does not support negative indexes. Returns <0.0, 0.0, 0.0> 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

Events

•  touch_start
•  touch
•  touch_end

Functions

•  llPassTouches
•  llSetStatus - STATUS_BLOCK_GRAB Enable / Disable object grabbing

Articles

•  Detected
•  Grab

Deep Notes

Signature

function vector llDetectedGrab( integer number );