These forums are CLOSED. Please visit the new forums HERE
llSameGroup |
|
Taun Patel
Geothermal Madman
![]() Join date: 5 Mar 2004
Posts: 222
|
09-13-2004 13:47
Hello! I want to use llSameGroup for something but the syntax seems goofy to me. Can someone explain it better than the wiki does, maybe with an example? Thanks!
|
Archaegeo Platini
Ancient Earth University
Join date: 12 Aug 2004
Posts: 152
|
09-13-2004 14:05
Put the following script in an object. Set the objects group to the group in question.
(Below typed from work, but you get the idea) CODE
_____________________
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dean Archaegeo Platini Ancient Earth University Courses for the Second Life secondlife://Sedig/211/46 =-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
Taun Patel
Geothermal Madman
![]() Join date: 5 Mar 2004
Posts: 222
|
09-13-2004 14:31
Thank you Arch! I modified it a bit for use with a listen (key id instead of the detector) and it works perfect! Thanks again!
|
Strife Onizuka
Moonchild
![]() Join date: 3 Mar 2004
Posts: 5,887
|
09-13-2004 21:34
for that example you could use llDetectedGroup
_____________________
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 |
Archaegeo Platini
Ancient Earth University
Join date: 12 Aug 2004
Posts: 152
|
09-13-2004 21:46
but he wanted an example using llSameGroup which has a key passed to it.
So i made a quick example form work that let him see how it worked and he was able to shift it. _____________________
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dean Archaegeo Platini Ancient Earth University Courses for the Second Life secondlife://Sedig/211/46 =-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
Strife Onizuka
Moonchild
![]() Join date: 3 Mar 2004
Posts: 5,887
|
09-13-2004 21:58
just wanted to point out the alternative as it's little known and rarely used.
_____________________
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 |
Taun Patel
Geothermal Madman
![]() Join date: 5 Mar 2004
Posts: 222
|
09-13-2004 22:33
As I read it, llDetectedGroup needs a coded group to be looked for, and that wasn't what I needed. The object is to be used by several different people so they need to be in the same group as this object to use it, and it's listen-based to boot. iiSameGroup seemed like the best alternative.
Strife, given this scenario, would llDetectedGroup be a better alternative? I'm looking at speed of execution and "lagless" solutions. I don't want my objects causing excessive lag. Thanks to you both! |