EnvironmentError
Constants in the EnvironmentError enum.
integer ENV_INVALID_AGENT = -4; // Unable to find the specified agent, or could not find an agent with the specified ID.integer ENV_INVALID_RULE = -5; // There was an issue with one of the rules, or an attempt was made to change an unknown property.integer ENV_NO_ENVIRONMENT = -3; // Environmental settings inventory object could not be found, or there is no environment on this parcel to modify.integer ENV_NO_EXPERIENCE_LAND = -7; // Experience has not been enabled or cannot run on the land.integer ENV_NO_EXPERIENCE_PERMISSION = -2; // Agent has not granted permission to change environments.integer ENV_NO_PERMISSIONS = -9; // Script lacks permissions to modify the environment at this location, or an attempt was made to remove altitude track 0 or 1.integer ENV_NOT_EXPERIENCE = -1; // Attempted to change environments outside an experience, or the script is not running as part of an experience with a valid experience key.integer ENV_OK = 1; // Agent, parcel, or region will attempt to change the applied environment.integer ENV_THROTTLE = -8; // Scripts have exceeded the throttle limit.integer ENV_VALIDATION_FAIL = -6; // Could not validate the environmental settings or values passed.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
ENV_INVALID_AGENT | integer | -4 | Unable to find the specified agent, or could not find an agent with the specified ID. |
ENV_INVALID_RULE | integer | -5 | There was an issue with one of the rules, or an attempt was made to change an unknown property. |
ENV_NO_ENVIRONMENT | integer | -3 | Environmental settings inventory object could not be found, or there is no environment on this parcel to modify. |
ENV_NO_EXPERIENCE_LAND | integer | -7 | Experience has not been enabled or cannot run on the land. |
ENV_NO_EXPERIENCE_PERMISSION | integer | -2 | Agent has not granted permission to change environments. |
ENV_NO_PERMISSIONS | integer | -9 | Script lacks permissions to modify the environment at this location, or an attempt was made to remove altitude track 0 or 1. |
ENV_NOT_EXPERIENCE | integer | -1 | Attempted to change environments outside an experience, or the script is not running as part of an experience with a valid experience key. |
ENV_OK | integer | 1 | Agent, parcel, or region will attempt to change the applied environment. |
ENV_THROTTLE | integer | -8 | Scripts have exceeded the throttle limit. Wait and retry the request. |
ENV_VALIDATION_FAIL | integer | -6 | Could not validate the environmental settings or values passed. |