Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Some group questions....

Zaplok Riggles
Registered User
Join date: 25 Feb 2008
Posts: 119
04-16-2008 06:45
If I use llListen, is there a way to tell if the speaker is part of a specific group? If so, how do I find out the UUID of the group?

Speaking of that, what's the easiest way to find out your own UUID without building an object and showing it in touch?

Second question: If I set an object to be group owned and it uses debiting, who's account is it taking the money from? Similarly, if I have an object that is group owned and it is paid, who's account does the money go to?

Thanks!
Zaplok Riggles
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
04-16-2008 07:36
From: Zaplok Riggles
If I use llListen, is there a way to tell if the speaker is part of a specific group? If so, how do I find out the UUID of the group?


Unfortunately, the only way is to put the object in the same group and then use llSameGroup. llGetObjectDetails will tell you if an _object_ is part of a specific group, but not an avatar (according to lslwiki, anyway)

From: someone

Speaking of that, what's the easiest way to find out your own UUID without building an object and showing it in touch?


That is the easiest way. The only other way is to turn on the Debug Window and read it from there and that's a lot more confusing.

From: someone
Second question: If I set an object to be group owned and it uses debiting, who's account is it taking the money from? Similarly, if I have an object that is group owned and it is paid, who's account does the money go to?


As far as I am aware (but I may very well be wrong about this) you cannot make such an object, because there is no way that "the group" can click on Yes to grant the object debit permission.
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
04-16-2008 07:39
Read the wiki for yourself:
http://lslwiki.net/lslwiki/wakka.php?wakka=uuid
http://www.lslwiki.net/lslwiki/wakka.php?wakka=group
http://www.lslwiki.net/lslwiki/wakka.php?wakka=llGiveMoney
_____________________
From Studio Dora
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
04-16-2008 07:39
From: Zaplok Riggles
If I use llListen, is there a way to tell if the speaker is part of a specific group? If so, how do I find out the UUID of the group?


via llSameGroup(id). It only returns a boolean if the person speaking is in the same group as the object itself is set to. Getting the UUID of a group can be done via a) using llGetOwner on an object deeded to the group in question, or b) via llGetObjectDetails on an object - it will not work on avatars.

From: someone
Speaking of that, what's the easiest way to find out your own UUID without building an object and showing it in touch?


That's the easiest way. You can just simply put llOwnerSay((string)llGetOwner()); in the state_entry() event to save you from having to touch it. You can also use a sensor, but that is more complicated.

From: someone
Second question: If I set an object to be group owned and it uses debiting, who's account is it taking the money from? Similarly, if I have an object that is group owned and it is paid, who's account does the money go to?


Group objects cannot have debit permissions. If the object is deeded after it gets the permission, the permission is lost upon deeding. If you try to request it after deeding, it will not respond, since a group cannot be sent a dialog to requst permissions.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
04-16-2008 10:49
For obtaining your own UUID, you can also try entering your exact SL name in a database like the one at http://w-hat.com/name2key (if you are very new to SL--which I'm stating generally, not necessarily about the OP--you may not be in that DB; otherwise I've found that it is pretty good about capturing most residents).