llGetParcelPopulation

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: integer llGetParcelPopulation( vector position );
REQUEST Function ID
0.1 Forced Delay
10.0 Energy

Returns an integer that is the number of avatars currently online in the parcel at position in Viewer_coordinate_frames#Region region coordinates.

• vector position

Caveats

  • This function causes the script to sleep for 0.1 seconds.
All Issues ~ Search JIRA for related Bugs

Examples

Notes

Useful in devices compiling other visitor statistics than that of "traffic" without having to use laggy (and inaccurate on large parcels) scans.

Deep Notes

Search JIRA for related Issues

Signature

//function integer llGetParcelPopulation( vector position );