Difference between revisions of "LlGetRegionAgentCount"

From Second Life Wiki
Jump to navigation Jump to search
m (New page: {{LSL_Function |func_id=334|func_sleep=0.0|func_energy=10.0 |func=llGetRegionAgentCount |return_type=integer |return_text=that is the number of avatars in the region. |caveats |examples=<l...)
 
m
Line 12: Line 12:
         llOwnerSay((string)llGetRegionAgentCount());
         llOwnerSay((string)llGetRegionAgentCount());
     }
     }
}
}</lsl>
|spec
|spec
|constants
|constants

Revision as of 20:07, 23 May 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();