llGetRegionPopulation

From Second Life Wiki
Jump to navigation Jump to search
Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: llGetRegionPopulation( string region name );
0.1 Forced 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).

Deep Notes

Signature

//function void llGetRegionPopulation( string region name );


Function introduced

A similar function has been introduced...see https://wiki.secondlife.com/wiki/LlGetRegionAgentCount