OsGetCurrentSunHour

From OpenSimulator

Revision as of 12:31, 3 July 2020 by Ubit (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
float osGetCurrentSunHour()
Returns a float value of the current region sun hour (24 hour clock).
Threat Level This function does not do a threat level check
Permissions Use of this function is always allowed by default
Extra Delay 0 seconds
Example(s)
//
//osGetCurrentSunHour() example, by Tom Earth.
//
default
{
    state_entry()
    {
        llSay(0, "Current sun hour: "+(string)osGetCurrentSunHour());
    }
}
Notes
Since in 0.9.2 Hour 0 is midnight.


Personal tools
General
About This Wiki