Difference between revisions of "LlGetRegionAgentCount"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{LSL_Generic/pre-release|function}}{{LSL_Function
{{LSL_Function
|func_id=334|func_sleep=0.0|func_energy=10.0
|func_id=334|func_sleep=0.0|func_energy=10.0
|func=llGetRegionAgentCount
|func=llGetRegionAgentCount

Revision as of 20:10, 15 July 2008

Summary

Function: integer llGetRegionAgentCount( );

Returns an integer that is the number of avatars in the region.

Examples

<lsl>//Tell the owner how many avatars are in the region on touch default {

   touch_start(integer count)
   {
       llOwnerSay((string)llGetRegionAgentCount());
   }
}</lsl>

See Also

Functions

•  llGetRegionFPS
•  llGetRegionTimeDilation

Deep Notes

History

Search JIRA for related Issues

Signature

function integer llGetRegionAgentCount();