Skip to content

llReplaceEnvironment

Function Syntax
integer llReplaceEnvironment(
  1. vector position, // Location of parcel to change. Use <-1, -1, -1> for entire region.
  2. string environment, // Name of inventory item, or UUID of environment resource to apply. Use NULL_KEY or empty string to remove environment.
  3. integer track_no, // Elevation zone of where to apply environment. Use -1 for all.
  4. integer day_length, // Length of day cycle for this parcel or region. -1 to leave unchanged.
  5. 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.