Talk:LlSameGroup

From Second Life Wiki
Revision as of 03:31, 27 August 2010 by Jonno Stromfield (Talk | contribs)

Jump to: navigation, search

According to LSLWiki, "Passing NULL_KEY as id will return TRUE if the object's active group is set to "none", FALSE otherwise". If this is indeed a solid specification, it should be mentioned here. You often need to recognize this, particularly because of the "no group is same group" behavior, necessitating this extra check if you want to restrict some functionality to an actual group. -- Tali Rosca 14:40, 29 January 2009 (UTC)

Tested and added =) --Zai signature.png Lynch (talk|contribs) 15:34, 29 January 2009 (UTC)

A small test suggests that llSameGroup tests against the prim's group, not the object's. The main page explains that a child prim may be of a different group than the root. If the script is in the child, the test is against the child prim's group, not the root's. Jonno Stromfield 10:31, 27 August 2010 (UTC)