Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Acting on groups

Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
12-10-2005 19:31
Tried using a llDetectedGroup function to allow members of the owner's group to run a particular script. I have figured out that if the owner's group is not the active group, it ignores them. Is there a way to find out if a particular av is a member of the owner's group?

Thanks,
Brian
Tip Baker
Registered User
Join date: 12 Nov 2005
Posts: 100
12-11-2005 02:10
Baron,

I'm afraid not.

As you have found all you can tell is whether the active group of the object is the same as the active group of the detected avatar.

You cannot even tell what an object's active group is from a script whithin the object.

I suppose the creator could create a different object for each group they are in, making sure they have the correct group activated when they create it. Then manually add the group name in the form of a string to each. Have all objects detect the avatar and the one that gets a llDetectedGroup(num) == TRUE, then the avatar is in that group.

Here's my suggestion for a few better group scrpit functions:

/13/5b/75103/1.html