Difference between revisions of "LlSameGroup"

From Second Life Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{LSL Function
 
{{LSL Function
|func_id=219
+
|func_id=219|func_sleep=0.0|func_energy=10.0
|func_sleep=0.0
+
|func_energy=10.0
+
 
|func=llSameGroup
 
|func=llSameGroup
 
|return_type=integer
 
|return_type=integer
 
|p1_type=key
 
|p1_type=key
 
|p1_name=agent
 
|p1_name=agent
|func_desc=Returns TRUE if '''agent''' is in the same sim and has the same active group, otherwise FALSE
+
|p1_desc=must be in the same sim
|}}
+
|func_desc
 
+
|func_footnote=Also returns [[TRUE]] if the object is deeded to the same active group as '''agent'''
[[Category:LSL Functions|Same Group]]
+
|return_text=boolean, that is [[TRUE]] if '''agent''' has the same active group, otherwise [[FALSE]]
[[Category:LSL Stub]]
+
|spec
 +
|caveats
 +
|constants
 +
|examples
 +
|helpers
 +
|also_functions={{{!}}
 +
{{LSL DefineRow||[[llDetectedGroup]]|Used in conjunction with {{LSLC|Detected|detection}} events}}
 +
{{!}}}
 +
|also_tests
 +
|also_events
 +
|also_articles
 +
|notes
 +
|cat1=Physics
 +
|cat2=Movement
 +
|cat3
 +
|cat4
 +
}}

Revision as of 00:54, 22 February 2007

Summary

Function: integer llSameGroup( key agent );

Returns an integer boolean, that is TRUE if agent has the same active group, otherwise FALSE

• key agent must be in the same sim

Also returns TRUE if the object is deeded to the same active group as agent

Examples

See Also

Functions

•  llDetectedGroup Used in conjunction with events

Deep Notes

Search JIRA for related Issues

Signature

function integer llSameGroup( key agent );