Difference between revisions of "Category:LSL Group"
m |
(→Scripting and Groups: mention secondlife:/// app/group/ method to print out a group's name; there's no LSL function to do this) |
||
Line 49: | Line 49: | ||
#Communications such as [[LlInstantMessage|instant messages]] cannot be sent to a group per se. Instead, what you have to do is create a list of the UUIDs of the people in that group, and loop through the list sending an instant message to each person separately; | #Communications such as [[LlInstantMessage|instant messages]] cannot be sent to a group per se. Instead, what you have to do is create a list of the UUIDs of the people in that group, and loop through the list sending an instant message to each person separately; | ||
#Note to teams working on shared scripting projects: membership in a common group is one of the pre-requisites to [[Editing someone else's scripts and notecards|shared editing access to scripts]]. | #Note to teams working on shared scripting projects: membership in a common group is one of the pre-requisites to [[Editing someone else's scripts and notecards|shared editing access to scripts]]. | ||
#There is no LSL function that returns a group's name as a string. However, if you know a group key (as a result of calling [[llGetObjectDetails]] with [[OBJECT_GROUP]], or calling [[llGetParcelDetails]] with [[PARCEL_DETAILS_GROUP]]), you can display the group's name in the viewer and chat history with the following special URL: | |||
<lsl>llOwnerSay("secondlife:///app/group/" + (string)group_key + "/about");</lsl> | |||
===Footnotes=== | ===Footnotes=== | ||
{{Footnotes}} | {{Footnotes}} |
Revision as of 01:56, 17 November 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
For in-depth answers about common questions about groups, go here: Category:Groups
Group General
In Second Life, a group is an association of people. As of July 2008, there is still a fee of L$100 to create a new group. Once created, a group's name cannot be changed. Nor, it appears, can it be re-used.
Group Numbers
A group must have in it 2 or more people. If a group's membership gets down to 1 person only, or 0, the system will purge it eventually. The present writer is unaware of a maximum number of people in a group.
Group Membership
There is a limit of 25 groups that a person may belong to (still current as of July 2008.) The original limit was 10; this was raised to 15 in SL 1.4.0, and again in SL 1.12.0 to 25. Calls for the maximum to be increased even further began almost immediately after it was raised to 25.
Joining a Group
The creator of a group can set joining conditions to:
- invitation only;
- open to join, but there is a fee to join;
- open to join for free.
Group Privileges
Group members are able to accord each other some access privileges, and can do sharing of financial items such as land tier, etc, if they choose. Some vending systems allow you to tell your vendors to accord certain discounts to group members[1].
Land and objects can be set to a group, shared with a group or be deeded to a group.
Note that a non-transferable item cannot be deeded to a group, because that would be a transfer of ownership.
Some objects, such as media objects like radios, TV's and security systems, will not function on group-owned land unless they are deeded to a group. Owing to this, note that non-transferable radios, for instance, can never work on group land.
"Active Group"
When a person has a group active, that group's name appears in the bubble above his or her head. This is referred to as the "group tag." "Having your group tag active" means having a certain group currently set to be your active group.
Upon joining a group, it immediately sets itself to become your active group at that time (some people find this annoying.)
Scripting and Groups
- Identifying someone's group(s) through scripting
- There is as of yet (July 2008) no way of telling what groups someone belongs to, or of knowing what is the name of the group that they currently have active. The best you can do is compare the group they have active with the group that an object is set to, and get an answer as to whether they match or not. You do this using either llDetectedGroup() or llSameGroup(). (To be clear: all you get back is an answer as to whether there is a match between the object's group, and the person's active group, or not. You get no other information.)
- You cannot use llGiveMoney to give money to a group;
- If your scripts draw on functions that can only work if same entity (person or group) owns both the scripted object and the land it is rezzed on, then you need to either release the object with transfer privileges so that it can be deeded to group and therefore work on group-owned land, or warn the customer in advance of purchase that the item won't work on group-owned land;
- Communications such as instant messages cannot be sent to a group per se. Instead, what you have to do is create a list of the UUIDs of the people in that group, and loop through the list sending an instant message to each person separately;
- Note to teams working on shared scripting projects: membership in a common group is one of the pre-requisites to shared editing access to scripts.
- There is no LSL function that returns a group's name as a string. However, if you know a group key (as a result of calling llGetObjectDetails with OBJECT_GROUP, or calling llGetParcelDetails with PARCEL_DETAILS_GROUP), you can display the group's name in the viewer and chat history with the following special URL:
<lsl>llOwnerSay("secondlife:///app/group/" + (string)group_key + "/about");</lsl>
Footnotes
- ^ This though, owing to the limited group functionality in SL (identified above in Scripting and Groups: Point 1), only works if they have their group tag active at time of purchase.
Pages in category "LSL Group"
The following 13 pages are in this category, out of 13 total.