OsReplaceParcelEnvironment

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
 
|description= Replaces parcel daycycle.<br>
 
|description= Replaces parcel daycycle.<br>
 
* If parameter daycycle is NULL_KEY or "", parcel environment is removed,
 
* 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>
+
* daycycle can be a name of a daycycle asset on prim contents. If it is a UUID it can also be grid asset.<br>
region must allow parcel owner to override enviroment.<br>
+
* region must allow parcel owner to override enviroment.<br>
prim owner must have rights to change parcel and parcel environment
+
* prim owner must have rights to change parcel and parcel environment
 +
* if return value is negative, it failed.
  
 
|
 
|
 
|additional_info=Added in 0.9.2
 
|additional_info=Added in 0.9.2
 
}}
 
}}

Revision as of 11:49, 3 July 2020

integer osReplaceParcelEnvironment(integer transition, string daycycle)
Replaces parcel daycycle.
  • 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.
  • region must allow parcel owner to override enviroment.
  • prim owner must have rights to change parcel and parcel environment
  • if return value is negative, it failed.
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)
//
Notes
Added in 0.9.2


Personal tools
General
About This Wiki