|
Eddepet Jacobus
Registered User
Join date: 14 Jul 2007
Posts: 2
|
12-17-2008 03:50
Hello all,
Is there a multiple group door script available out there, or is just a no-can-do scripting wise ?
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
12-17-2008 06:07
Unfortunately objects can only check against a single group, so you would need multiple separate objects, communicating via chat message, in order to achieve it. Not sure if such a thing exists, but it is possible.
|
|
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
|
12-17-2008 18:39
its possable ive done it  and ive found a way to do it with link messages too
_____________________
L$ is the root of all evil videos work! thanks SL 
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-18-2008 07:34
seperate prims in aa single object may be set to different groups, and polled individually for a match... the problem is that the object can't be taken to invebtory afterwards. set the individual prims with check scripts to their different groups (you'll need to be in all the groups) and then link them. poll them on touch using link messages.
_____________________
| | . "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... | - 
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
12-18-2008 16:45
I hadn't realised that was possible. Thanks for the tip, Lightwave and Void!
|
|
Seijaku Baran
Registered User
Join date: 30 May 2008
Posts: 5
|
12-19-2008 03:34
Tal, Edde...
Whereas multi-group control is do-able, by the aforementioned methods, I've always found a list works better myself.
One way, if you're determined to use groups - and only if auto-return isn't turned on - is to have a door, with a series of "door handles" to the side. one for each group. On touch, if the user matches the group in question, it sends a message to the door, which then opens.
Limits on that are obvious. You have to be in the groups in question, object auto-return must be off and you need a specific switch for each group. But it does make it nice 'n easy to add/remove a group from the access list. Don't like "Munster's Manly Mannaquins" anymore, just delete their switch.
- S.
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
12-19-2008 07:31
Auto-return would presumably be fine if you own the land directly (i.e. it's not group-owned), and the objects aren't deeded to group?
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-19-2008 12:52
no need for multiple handlers, link message the av's key to the child prims with groups, they all check that key with SameGroup, if it comes up true, it sends a link message back opening the door, if not it does nothing. result, door only opens for specified group members with active tags for one of those groups... all others are effectively ignored.
_____________________
| | . "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... | - 
|