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 );
0.1 Forced Delay
10.0 Energy

Returns
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.

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

Signature

//function integer llGetParcelPopulation( vector position );