Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

set/change the group in script

Abraxes Binder
Registered User
Join date: 23 May 2008
Posts: 205
06-10-2009 03:48
Hi, is it posible to use a script to set the group for an object.
I would like to have a gruopame in a notecard and have the state-entry event read that notecard and set the group for the linkset to the same (as was read from notecard ..ofcause:)
I cant find anything on that
tyia
Ab
_____________________
BR ab
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
06-10-2009 04:23
short answer, no.
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
06-11-2009 00:30
objects don't have group membership, only possession by, so there is no way for an object to know what groups would be valid for it to belong to.

what exactly are you trying to accomplish? if it's setting the object for use on group land, there's really no help for that other than the standard methods, if it's something else, we may be able to suggest a work around...
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Abraxes Binder
Registered User
Join date: 23 May 2008
Posts: 205
06-11-2009 03:16
Thanks Ruthven -thats just what i needed to know.
Void its no big deal i will do something with attachments instead - Thanks!

BR
ab
_____________________
BR ab
Beverly Ultsch
Registered User
Join date: 6 Sep 2007
Posts: 229
06-11-2009 15:50
Not quite the same question but consider this,

I have a flowwer, it follows me around,

I rez it in sim A for which i have full perms, no problem.

I then move to sim B, i also have full perms but need to change group.

My follower cant change group like I can so auto return kicks in.

Can i get around this by makeing the follower two prims, each set to differnt groups and relink on sim crossing to chhange the group of the object.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
06-12-2009 02:10
::cough:: don't even need to change the group if you keep doing it ::cough::

(and I thought taking an object to inventory destroyed vhild prim group info (unless you meant rez separately, then compbine when you cross sims?)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -