|
Bloodsong Termagant
Manic Artist
Join date: 22 Jan 2007
Posts: 615
|
09-29-2008 09:15
heyas;
so i have a touch menu for owners of an object to set settings. however, this object is part of a game and part of the fun is it pushing avatars around. soooo... for that to work on group-owned land, it has to be deeded to group.
naturally, after that happenes the llGetOwner doesnt match the original owner of the object.
is there a standardized and simple routine that will allow the group owners/officers to access the 'owner only' controls? or do i have to resort to notecards and access lists? (um, or IS notecards and access lists the simple and easy routine to use??)
_____________________
Why Johnny Can't Rotate: http://forums.secondlife.com/showthread.php?t=94705
|
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
09-29-2008 09:26
hmm, i was wondering the same thing, access list is probably the only way to go
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
09-29-2008 10:53
I think the closest you will find is "llSameGroup", which determines if somebody is in the same group as the object. I don't think there's any way to check the user's role in the group though, so you might need to go for an access list of some kind.
|
|
Bloodsong Termagant
Manic Artist
Join date: 22 Jan 2007
Posts: 615
|
10-03-2008 05:55
oh duh...
i'll just store the owner key on rez. then when its deeded, it will still remember the original owner. i dont think the whole group or even the group admins need to control it. (why do i hear ominous music when i say that? :X )
and then, of course, i wont reset the script.
|
|
Cappy Frantisek
Open Source is the Devil!
Join date: 27 Oct 2006
Posts: 400
|
10-03-2008 06:53
From: Bloodsong Termagant oh duh...
i'll just store the owner key on rez. then when its deeded, it will still remember the original owner. i dont think the whole group or even the group admins need to control it. (why do i hear ominous music when i say that? :X )
and then, of course, i wont reset the script. Good luck on that. You're betting that SL doesn't create a problem that the script needs to be reset.
|
|
Shifting Dreamscape
Always questioning ...
Join date: 12 Dec 2007
Posts: 266
|
10-03-2008 07:20
Following that line of thinking, you could store the key in the object description, and so that way if the script resets it could be read from the desc.
Alternately you could have the llGetOwner call in a tiny invisible prim within whisper distance of the main control ... and the main control could call the invis prim to get the owner name. This way you coould have multiple of these prims to allow for officers etc ...
|