OsGetApparentRegionTime: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Ubit Created page with "{{osslfunc |threat_level=ignored |permissions=true |delay=0 |function_syntax=float osGetApparentRegionTime() |ossl_example=<source lang="lsl"> // //osGetApparentRegionTime() e..." |
imported>Ubit No edit summary |
||
| Line 6: | Line 6: | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
// | // | ||
//osGetApparentRegionTime() example | //osGetApparentRegionTime() example | ||
// | // | ||
default | default | ||
Latest revision as of 19:35, 3 July 2020
float osGetApparentRegionTime()
| |
| Returns region 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) | |
//
//osGetApparentRegionTime() example
//
default
{
state_entry()
{
llSay(0, "Current Apparent Sun Time: "+(string)osGetApparentRegionTime());
}
}
| |
| Notes | |
| Added in 0.9.2 | |