llGetRegionAgentCount

From Second Life Wiki
Jump to navigation Jump to search

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();