OsGetCurrentSunHour
From OpenSimulator
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());
}
}
| |