OsGetCurrentSunHour
From OpenSimulator
(Difference between revisions)
m (some format conversions) |
|||
| Line 14: | Line 14: | ||
} | } | ||
</source> | </source> | ||
| − | |description= | + | |description=Returns a float value of the current sun hour (24 hour clock). Hour 0 is sunrise. |
| | | | ||
}} | }} | ||
Revision as of 10:59, 30 July 2011
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()); } } | |