SitError
Constants in the SitError enum.
integer SIT_INVALID_AGENT = -4; // Sit error code indicating that the specified agent/avatar ID could not be found or is invalid.integer SIT_INVALID_LINK = -5; // Sit error code indicating that the link ID does not specify a valid prim, is not found, or resolves to multiple prims.integer SIT_INVALID_OBJECT = -7; // Sit error code returned when attempting to force an avatar to sit on an invalid target (such as an attachment) that cannot be sat upon.integer SIT_NO_ACCESS = -6; // Sit error code indicating that the avatar lacks access to the parcel where the target prim/linkset is located.integer SIT_NO_EXPERIENCE_PERMISSION = -2; // Sit error code indicating that the agent has not granted experience permissions to force sits.integer SIT_NO_SIT_TARGET = -3; // Sit error code indicating that no open or available sit target could be found in the linkset.integer SIT_NOT_EXPERIENCE = -1; // Sit error code returned if the script is not running within a valid experience, lacks a valid experience key, or the experience is not permitted at the current location.integer SIT_OK = 1; // Sit error code indicating that the agent was seated successfully.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
SIT_INVALID_AGENT | integer | -4 | Sit error code indicating that the specified agent/avatar ID could not be found or is invalid. |
SIT_INVALID_LINK | integer | -5 | Sit error code indicating that the link ID does not specify a valid prim, is not found, or resolves to multiple prims. |
SIT_INVALID_OBJECT | integer | -7 | Sit error code returned when attempting to force an avatar to sit on an invalid target (such as an attachment) that cannot be sat upon. |
SIT_NO_ACCESS | integer | -6 | Sit error code indicating that the avatar lacks access to the parcel where the target prim/linkset is located. |
SIT_NO_EXPERIENCE_PERMISSION | integer | -2 | Sit error code indicating that the agent has not granted experience permissions to force sits. |
SIT_NO_SIT_TARGET | integer | -3 | Sit error code indicating that no open or available sit target could be found in the linkset. |
SIT_NOT_EXPERIENCE | integer | -1 | Sit error code returned if the script is not running within a valid experience, lacks a valid experience key, or the experience is not permitted at the current location. |
SIT_OK | integer | 1 | Sit error code indicating that the agent was seated successfully. |