Tip Baker
Registered User
Join date: 12 Nov 2005
Posts: 100
|
01-20-2006 11:22
Would it be possible to enhance LSL's group related scripting functions when groups get their makeover? llSamegroup() is a useful as a chocolate teapot.
I suggest;
string llGetGroupName() Returns a string containing the name of the calling object's group.
string llDetectedGroupName(integer x) Returns a string containing the group name of the detected object/agent
integer llGetDeeded() Returns whether or not the the calling object has been deeded to a group
and
key llRequestGroupData(string group_name,integer data) To return whatever information the new groups are going to have.
Thanks for reading Tip
|
Bertha Horton
Fat w/ Ice Cream
Join date: 19 Sep 2005
Posts: 835
|
01-20-2006 12:57
As people belong to more than one group, maybe these could return a list instead of a string.
_____________________
Trapped in a world she never made!
|
Tip Baker
Registered User
Join date: 12 Nov 2005
Posts: 100
|
01-20-2006 13:02
Bertha, I was thinking of the active group, not all groups a person belongs to.
But your idea is useful as well, list llDetectedAllGroups(integer x) perhaps?
|
Khamon Fate
fategardens.net
Join date: 21 Nov 2003
Posts: 4,177
|
01-21-2006 06:01
It would be most useful for llDetectedGroupName() to return a list of all memberships.
_____________________
Visit the Fate Gardens Website @ fategardens.net
|
Tip Baker
Registered User
Join date: 12 Nov 2005
Posts: 100
|
01-21-2006 09:53
I think you would need both.
|
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
|
01-21-2006 10:20
If the first group in the list is always the active one, then you just need a single function.
_____________________
~ Tiger Crossing ~ (Nonsanity)
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
01-22-2006 09:58
I would much rather have these functions key llDetectedGroupKey(integer x) - returns the group key of the detected object key llGetGroup() - returns the group key of the object key llGetGroupKey(key a) - returns the group key of object or agent in the sim. key llRequestGroupName(key a) - returns the handle for a dataserver event. integer llIsMemberOfGroup(key group, key user) - returns 0 = Non-Member, 1 = Member, 2 = Group Officer
to detect if an object was deeded you would just need to test llGetOwner() == llGetGroup()
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Travis Lambert
White dog, red collar
Join date: 3 Jun 2004
Posts: 2,819
|
01-22-2006 14:17
From: Strife Onizuka I would much rather have these functions key llDetectedGroupKey(integer x) - returns the group key of the detected object key llGetGroup() - returns the group key of the object key llGetGroupKey(key a) - returns the group key of object or agent in the sim. key llRequestGroupName(key a) - returns the handle for a dataserver event. integer llIsMemberOfGroup(key group, key user) - returns 0 = Non-Member, 1 = Member, 2 = Group Officer
to detect if an object was deeded you would just need to test llGetOwner() == llGetGroup() This would be perfect! 
_____________________
------------------ The ShelterThe Shelter is a non-profit recreation center for new residents, and supporters of new residents. Our goal is to provide a positive & supportive social environment for those looking for one in our overwhelming world.
|
Jon Rolland
Registered User
Join date: 3 Oct 2005
Posts: 705
|
01-23-2006 00:10
This requires the ability to perma reject invites from groups(and no 50 group limit) when giving a group invite have Accept, Decline, Always Decline. Any functionality that allows you to see if a person is a member of the group, while needed, will make club groups all the more aggressive in recruiting which is already annoying enough.
|