LlGetParcelPopulation: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
No edit summary
Strife Onizuka (talk | contribs)
No edit summary
Line 1: Line 1:
{{LSL_Function|func_id|func_sleep=0.1|func_energy=10.0|func=llGetParcelPopulation|sort=GetParcelPopulation|p1_type=vector|p1_name=position|func_desc=Returns the number of avatars currently online in the parcel containing position|return_text|spec|caveats|examples|helpers|related|also|notes=Useful in devices compiling other visitor statistics than that of "traffic" without having to use laggy (and inaccurate on large parcels) scans.|mode=request}}
{{LSL_Function|func_id|func_sleep=0.1|func_energy=10.0
|func=llGetParcelPopulation|sort=GetParcelPopulation
|p1_type=vector|p1_name=position
|return_text=that is the number of avatars currently online in the parcel at '''position''' in [[Viewer_coordinate_frames#Region region coordinates]].
|return_type=integer
|func_desc=Returns|spec|caveats|examples|helpers|related|also|notes=Useful in devices compiling other visitor statistics than that of "traffic" without having to use laggy (and inaccurate on large parcels) scans.|mode=request}}

Revision as of 14:12, 2 April 2007

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 );