LlGetRegionAgentCount

From Second Life Wiki

Second Life Wiki > LSL Portal > Built-in Functions > LlGetRegionAgentCount
Jump to: navigation, search

Contents

Description

Function: integer llGetRegionAgentCount( );
334 Function ID
0.0 Delay
10.0 Energy

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


Examples

//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

This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.
Personal tools