OsReplaceRegionEnvironment
From OpenSimulator
(Difference between revisions)
| Line 9: | Line 9: | ||
</source> | </source> | ||
|description= Replaces region dayclycle.<br> | |description= Replaces region dayclycle.<br> | ||
| − | * If parameter daycycle is NULL_KEY or "", | + | * If parameter daycycle is NULL_KEY or "", current environment is used as base, |
* daycycle can be a name of a daycycle asset on prim contents. If it is a UUID it can also be grid asset.<br> | * daycycle can be a name of a daycycle asset on prim contents. If it is a UUID it can also be grid asset.<br> | ||
* daylenght in hours - if zero, current is used. Range 4 to 168 | * daylenght in hours - if zero, current is used. Range 4 to 168 | ||
Revision as of 11:25, 12 September 2020
integer osReplaceRegionEnvironment(integer transition, string daycycle, float daylenght, float dayoffset, float altitude1, float altitude2, float altitude3)
| |
Replaces region dayclycle.
| |
| Threat Level | This function does not do a threat level check |
| Permissions | Prim owner must have estate manager rights |
| Extra Delay | 0 seconds |
| Example(s) | |
// | |
| Notes | |
| Added in 0.9.2 | |