OsGetCurrentSunHour: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Fritigern No edit summary |
imported>Fritigern No edit summary |
||
| Line 1: | Line 1: | ||
''' | {| width="100%" style="border: thin solid black" | ||
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}''' | |||
|- valign="top" | |||
|'''Threat Level''' || <Threat Level goes here> | |||
<source lang="lsl"> | |- valign="top" | ||
|'''Function Syntax''' || <source lang="lsl"> | |||
float osGetCurrentSunHour() | |||
</source> | |||
|- valign="top" | |||
|'''Example(s)||<source lang="lsl"> | |||
// | // | ||
//osGetCurrentSunHour() example, by Tom Earth. | //osGetCurrentSunHour() example, by Tom Earth. | ||
| Line 14: | Line 22: | ||
</source> | </source> | ||
|} | |||
[[Category:OSSL]] | [[Category:OSSL Functions]] | ||
[[Category:OSSL functions without threat level]] | [[Category:OSSL functions without threat level]] | ||
Revision as of 23:30, 8 June 2011
| OsGetCurrentSunHour | |
| Threat Level | <Threat Level goes here> |
| Function Syntax | float osGetCurrentSunHour()
|
| Example(s) | //
//osGetCurrentSunHour() example, by Tom Earth.
//
default
{
state_entry()
{
llSay(0, "Current sun hour: "+(string)osGetCurrentSunHour());
}
}
|