OsReplaceParcelEnvironment
From OpenSimulator
(Difference between revisions)
(Created page with "{{osslfunc |threat_level=ignored |permissions=true |delay=0 |function_syntax=integer osReplaceParcelEnvironment(integer transition, string daycycle) |ossl_example=<source lang...") |
|||
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
|threat_level=ignored | |threat_level=ignored | ||
− | |permissions= | + | |permissions= Prim owner must have rights to change parcel and parcel environment and region must allow parcel environments |
|delay=0 | |delay=0 | ||
|function_syntax=integer osReplaceParcelEnvironment(integer transition, string daycycle) | |function_syntax=integer osReplaceParcelEnvironment(integer transition, string daycycle) | ||
Line 8: | Line 8: | ||
</source> | </source> | ||
− | |description= Replaces parcel daycycle. If parameter daycycle is NULL_KEY or "", parcel environment is removed | + | |description= Replaces parcel daycycle.<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> | + | * If parameter daycycle is NULL_KEY or "", parcel environment is removed, |
− | + | * daycycle can be a name of a daycycle asset on prim contents. If it is a UUID it can also be grid asset.<br> | |
− | + | * if return value is negative, it failed. | |
+ | * transition should be the viewer transition time to the new one. May not work on most viewers. | ||
| | | | ||
|additional_info=Added in 0.9.2 | |additional_info=Added in 0.9.2 | ||
}} | }} |
Revision as of 12:52, 3 July 2020
integer osReplaceParcelEnvironment(integer transition, string daycycle)
| |
Replaces parcel daycycle.
| |
Threat Level | This function does not do a threat level check |
Permissions | Prim owner must have rights to change parcel and parcel environment and region must allow parcel environments |
Extra Delay | 0 seconds |
Example(s) | |
// | |
Notes | |
Added in 0.9.2 |