llGetMoonDirection

From Second Life Wiki
Revision as of 15:23, 1 February 2019 by Jeremy Linden (talk | contribs) (Created page with "{{LSL_Function |func=llGetMoonDirection|return_type=vector |func_desc=Returns a normalized vector to the current moon position at the location of object containing the script....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Function: vector llGetMoonDirection( );

Returns a normalized vector to the current moon position at the location of object containing the script. llGetMoonDirection is the vector to the parcel's moon, llGetRegionMoonDirection is the vector to region's moon. If there is no custom environment set for the current parcel llGetMoonDirection returns the direction to the region's moon. These functions are altitude aware.
Returns a vector

Examples

Deep Notes

Signature

function vector llGetMoonDirection();