integer llDetectedLinkNumber(integer number)
Returns the link position (
0 for a non-linked object,
1 for the root (parent) of a linked object, 2 for the first child, etc.) of the object the
touch or
collision event is triggered for.
See also
llPassTouches and
llPassCollisions.
This is most useful for finding out which prim was
touched without having to put a script into each prim.
Note:
As of SL
1.6.7,
llDetectedLinkNumber will only ever return
0 when used with
llVolumeDetect, even when used in a multi-prim object. This may be caused by the fact that
llVolumeDetect was added some time after the original
detected functions. There is not yet any word on when this might be fixed.
Functions |
Detected Functions |
Link