Re: [slscripters] reliable attachment detection

2 views
Skip to first unread message

Nox Ferocia

unread,
Dec 22, 2011, 9:59:56 AM12/22/11
to secondlif...@lists.secondlife.com
!llGetObjectPrimCount()
will give false positives for objects that speak then exit the region
before it's called, leading to false detection as an attachment.

(llGetOwnerKey() == speaker_key)
will give false positives for being an avatar if the objects chats
then exits the region before this is called

llGetAgentSize()
could give a false negative for agents teleporting away.

AFAIK pretty much every detection method available can fail if the
speaker leaves the region (teleport/detach to inventory/die/etc). a
combination of two or more methods that fail to different defaults may
be necessary for accurate detection.

not trying to shoot down your idea, just want you to be aware of the edge cases
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters

Reply all
Reply to author
Forward
0 new messages