Difference between revisions of "LlSetSunDirection"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function|func_id|mode=request
{{
LSL_Function
|mode=request
|func=llSetSunPosition|sort=llSetSunPosition
|func=llSetSunPosition|sort=llSetSunPosition
|p1_type=vector|p1_name=position|p1_desc=a vector that is the direction of the sun in the region
|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 change the phase of day/night to a specific SunPosition while sitting on the object containing the script.
|return_text=that is the  
|spec
avatars currently online in the  
|caveats
parcel at '''position''' in
|examples
[[Viewer_coordinate_frames#Region|region coordinates]].
|helpers
 
|related
|return_type=integer
|also
|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}}
|notes=Useful for nightclubs and space oriented sims, also for items such as sailboats that tend to avoid night.
}}

Revision as of 09:39, 17 November 2007

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

Summary

Function: llSetSunPosition( vector position );

Requests the UserAgent's viewer to change the phase of day/night to a specific SunPosition while sitting on the object containing the script.

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

Examples

Notes

Useful for nightclubs and space oriented sims, also for items such as sailboats that tend to avoid night.

Deep Notes

Search JIRA for related Issues

Signature

//function void llSetSunPosition( vector position );