Difference between revisions of "LlGetRegionPopulation"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function|func_id|func_sleep=0.1|func_energy=10.0|func=llGetRegionPopulation|sort=GetRegionPopulation|p1_type=string|p1_name=region name|func_desc=Returns the number of avatars currently online in the region identified.|return_text|spec|caveats|examples|helpers|related|also|notes=Useful in HUDS for instance to determine possible lag or region full errors before teleporting (in conjunction with a better teleport API).|mode=request}}
{{LSL_Function|func_id|func_sleep=0.1|func_energy=10.0|func=llGetRegionPopulation|sort=GetRegionPopulation|p1_type=string|p1_name=region name|func_desc=Returns the number of avatars currently online in the region identified.|return_text|spec|caveats|examples|helpers|related|also|notes=Useful in HUDS for instance to determine possible lag or region full errors before teleporting (in conjunction with a better teleport API).|mode=request}}
=Function introduced=
A similar function has been introduced...see https://wiki.secondlife.com/wiki/LlGetRegionAgentCount

Revision as of 04:26, 28 July 2008

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