Difference between revisions of "LlGetRegionAgentCount"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{LSL_Function
{{LSL_Generic/pre-release|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 09:46, 24 May 2008

Emblem-important-red.png Pre-release Documentation Warning!

This function is not available yet. This documentation was written prior to its final release so it may not match the final implementation.

Summary

Function: integer llGetRegionAgentCount( );
0.0 Forced Delay
10.0 Energy

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

Signature

function integer llGetRegionAgentCount();