OsGetCurrentSunHour

From OpenSimulator
Revision as of 18:59, 30 July 2011 by imported>Fritigern
Jump to navigationJump to search
float osGetCurrentSunHour()
Returns a float value of the current sun hour (24 hour clock). Hour 0 is sunrise.
Threat Level None
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
//
//osGetCurrentSunHour() example, by Tom Earth.
//
default
{
    state_entry()
    {
        llSay(0, "Current sun hour: "+(string)osGetCurrentSunHour());
    }
}