LlGetRegionPopulation

From Second Life Wiki

Jump to: navigation, search
Image:Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Contents

Description

Function: llGetRegionPopulation( string region name );
REQUEST Function ID
0.1 Delay
10.0 Energy

Returns the number of avatars currently online in the region identified.

• string region name

Caveats

  • This function causes the script to sleep for 0.1 seconds.

Examples

Notes

Useful in HUDS for instance to determine possible lag or region full errors before teleporting (in conjunction with a better teleport API).

Personal tools