llReplaceEnvironment
Function Syntax
integer llReplaceEnvironment(
- vector position, // Location of parcel to change. Use <-1, -1, -1> for entire region.
- string environment, // Name of inventory item, or UUID of environment resource to apply. Use NULL_KEY or empty string to remove environment.
- integer track_no, // Elevation zone of where to apply environment. Use -1 for all.
- integer day_length, // Length of day cycle for this parcel or region. -1 to leave unchanged.
- integer day_offset // Offset from GMT for the day cycle on this parcel or region. -1 to leave unchanged.
Replaces the environment for a parcel or region.