OsResetEnvironment
From OpenSimulator
(Difference between revisions)
(Created page with "{{osslfunc |threat_level=ignored |permissions=Prim owner must have estate manager rights or parcel and parcel environment change rights |delay=0 |function_syntax=integer osRes...") |
|||
(One intermediate revision by one user not shown) | |||
Line 7: | Line 7: | ||
</source> | </source> | ||
− | |description= Resets environment.<br> | + | |description= Resets parcel or region environment.<br> |
− | * if ParcelOrRegion == 1 parcel environment is removed | + | * if ParcelOrRegion == 1 parcel environment is removed, region will be used, else region environment is set to the default. |
− | * if return is negative the operation failed. | + | * transition should be the viewer transition time to the new one. May not work on most viewers. |
+ | if return is negative the operation failed. | ||
| | | | ||
|additional_info=Added in 0.9.2 | |additional_info=Added in 0.9.2 | ||
}} | }} |
Revision as of 13:11, 3 July 2020
integer osResetEnvironment(integer ParcelOrRegion, integer transition)
| |
Resets parcel or region environment.
if return is negative the operation failed. | |
Threat Level | This function does not do a threat level check |
Permissions | Prim owner must have estate manager rights or parcel and parcel environment change rights |
Extra Delay | 0 seconds |
Example(s) | |
Notes | |
Added in 0.9.2 |