Difference between revisions of "LlSetSunDirection"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
llSetSunPosition
{{LSL_Function|func_id|mode=request
|p1_type=vector|p1_name=height|p1_desc=a vector that is the direction of the sun in the region
|func=llSetSunPosition|sort=llSetSunPosition
|p2_type=float|p2_name=tau |p2_desc=seconds to allow for the change
|p1_type=vector|p1_name=position|p1_desc=a vector that is the direction of the sun in the region
|func_desc=Requests the UserAgent's (viewer) to shift to a specific SunPosition setting while sitting on the object containing the script.
 
|return_text
|return_text=that is the  
|spec
avatars currently online in the  
|caveats=*The user may choose to revert to the region default at any time.
parcel at '''position''' in
[[Viewer_coordinate_frames#Region|region coordinates]].
 
|return_type=integer
|func_desc|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 09:32, 17 November 2007

Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: integer llSetSunPosition( vector position );

Returns an integer that is the avatars currently online in the parcel at position in region coordinates.

• vector position a vector that is the direction of the sun in the region

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 llSetSunPosition( vector position );