llGetRegionAgentCount

From Second Life Wiki
Revision as of 20:07, 23 May 2008 by Strife Onizuka (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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());
   }
}

See Also

Functions

•  llGetRegionFPS
•  llGetRegionTimeDilation

Deep Notes

History

Search JIRA for related Issues

Signature

function integer llGetRegionAgentCount();