OsGetApparentTime
From OpenSimulator
(Difference between revisions)
(Created page with "{{osslfunc |threat_level=ignored |permissions=true |delay=0 |function_syntax=float osGetApparentTime() |ossl_example=<source lang="lsl"> // //osGetCurrentSunHour() example, by...") |
|||
Line 12: | Line 12: | ||
state_entry() | state_entry() | ||
{ | { | ||
− | llSay(0, "Current Apparent SUnTime: "+(string) | + | llSay(0, "Current Apparent SUnTime: "+(string)osGetApparentTime()); |
} | } | ||
} | } |
Revision as of 11:12, 3 July 2020
float osGetApparentTime()
| |
Identical to osGetCurrentSunHour but returns time in seconds since midnight. | |
Threat Level | This function does not do a threat level check |
Permissions | Use of this function is always allowed by default |
Extra Delay | 0 seconds |
Example(s) | |
// //osGetCurrentSunHour() example, by Tom Earth. // default { state_entry() { llSay(0, "Current Apparent SUnTime: "+(string)osGetApparentTime()); } } |