llReplaceEnvironment
integer llReplaceEnvironment(vector position, string environment, integer track_no, integer day_length, integer day_offset)Replaces the environment for a parcel or region.
Parameters
-
position(vector) - Location of parcel to change. Use <-1, -1, -1> for entire region.
-
environment(string) - Name of inventory item, or UUID of environment resource to apply. Use NULL_KEY or empty string to remove environment.
-
track_no(integer) - Elevation zone of where to apply environment. Use -1 for all.
-
day_length(integer) - Length of day cycle for this parcel or region. -1 to leave unchanged.
-
day_offset(integer) - Offset from GMT for the day cycle on this parcel or region. -1 to leave unchanged.
Examples
Section titled “Examples”Add example usage here.
Add additional notes, caveats, or tips here.
See Also
Section titled “See Also”- Related pages can be linked here