OsGetCurrentSunHour

From OpenSimulator

Revision as of 11:59, 30 July 2011 by Fritigern (Talk | contribs)

Jump to: navigation, 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());
    }
}
Personal tools
General
About This Wiki