OsGetCurrentSunHour: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>MakoBot m some format conversions |
imported>Fritigern No edit summary |
||
| 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 18: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());
}
}
| |