Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Help "llSensorRepeat" - Detect scripted object attached to avatar

Rui Clary
Registered User
Join date: 24 Feb 2007
Posts: 2
06-25-2007 04:34
Hello,

I need to develop a scripted object, that must be attached to Avatar and has the ability to detect itself in a small range, when attached to other avatars.

I'm using llSensorRepeat function and "SCRIPTED" as type argument.

Everything works fine when the object is not attached.
When it is atached to two or more avatars it does not detect anything.

Anyone has some ideas to solve this problem?
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
06-25-2007 04:39
You cannot detect another's attachments using a sensor. They are just part of the avatar if they are worn.

The only thing you could really do for this is have it broadcast with RegionSay for all of the others of itself and have them report back manually.
Rui Clary
Registered User
Join date: 24 Feb 2007
Posts: 2
06-25-2007 04:56
Thank you, for the suggestion.

Yes, It is an alternative.

I was just trying to avoid repeated broadcasting, but i think, in fact that it is the only solution.


Maybe i'll use llSay instead of llRegionSay, because it is supposed to detect in a small range.
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
06-25-2007 05:58
If you used Shout it would have the same approximate distance that Sensor is *supposed* (I know sometimes it can report stuff a Lot further away) to only be 96m and shout is 100m