Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

Constants

84 starting with “O” of 934 — the named values scripts use for flags, permissions and change events.

Constant Type Value
OBJECT_ACCOUNT_LEVEL integer 41
OBJECT_ANIMATED_COUNT integer 39
OBJECT_ANIMATED_SLOTS_AVAILABLE integer 40
OBJECT_ATTACHED_POINT integer 19
OBJECT_ATTACHED_SLOTS_AVAILABLE integer 35
OBJECT_BODY_SHAPE_TYPE integer 26
OBJECT_CHARACTER_TIME integer 17
OBJECT_CLICK_ACTION integer 28
OBJECT_CREATION_TIME integer 36
OBJECT_CREATOR integer 8
OBJECT_DESC integer 2
OBJECT_GROUP integer 7
OBJECT_GROUP_TAG integer 33
OBJECT_HOVER_HEIGHT integer 25
OBJECT_LAST_OWNER_ID integer 27
OBJECT_LINK_NUMBER integer 46
OBJECT_MASS integer 43
OBJECT_MATERIAL integer 42
OBJECT_NAME integer 1
OBJECT_OMEGA integer 29
OBJECT_OWNER integer 6
OBJECT_PATHFINDING_TYPE integer 20
OBJECT_PHANTOM integer 22
OBJECT_PHYSICS integer 21
OBJECT_PHYSICS_COST integer 16
OBJECT_POS integer 3
OBJECT_PRIM_COUNT integer 30
OBJECT_PRIM_EQUIVALENCE integer 13
OBJECT_RENDER_WEIGHT integer 24
OBJECT_REZ_TIME integer 45
OBJECT_REZZER_KEY integer 32
OBJECT_ROOT integer 18
OBJECT_ROT integer 4
OBJECT_RUNNING_SCRIPT_COUNT integer 9
OBJECT_SCALE integer 47
OBJECT_SCRIPT_MEMORY integer 11
OBJECT_SCRIPT_TIME integer 12
OBJECT_SELECT_COUNT integer 37
OBJECT_SERVER_COST integer 14
OBJECT_SIT_COUNT integer 38
OBJECT_STREAMING_COST integer 15
OBJECT_TEMP_ATTACHED integer 34
OBJECT_TEMP_ON_REZ integer 23
OBJECT_TEXT integer 44
OBJECT_TEXT_ALPHA integer 49
OBJECT_TEXT_COLOR integer 48
OBJECT_TOTAL_INVENTORY_COUNT integer 31
OBJECT_TOTAL_SCRIPT_COUNT integer 10
OBJECT_UNKNOWN_DETAIL integer -1
OBJECT_VELOCITY integer 5
OPT_AVATAR integer 1
OPT_CHARACTER integer 2
OPT_EXCLUSION_VOLUME integer 6
OPT_LEGACY_LINKSET integer 0
OPT_MATERIAL_VOLUME integer 5
OPT_OTHER integer -1
OPT_STATIC_OBSTACLE integer 4
OPT_WALKABLE integer 3
OS_APIVERSION LSLInteger 23
OS_ATTACH_MSG_ALL integer -65535
OS_ATTACH_MSG_INVERT_POINTS integer 1
OS_ATTACH_MSG_OBJECT_CREATOR integer 2
OS_ATTACH_MSG_SCRIPT_CREATOR integer 4
OS_LISTEN_REGEX_MESSAGE integer 0x2
OS_LISTEN_REGEX_NAME integer 0x1
OS_LTPAG_ALGNLV integer 0x4
OS_LTPAG_FORCEFLY integer 0x8
OS_LTPAG_FORCENOFLY integer 0x16
OS_LTPAG_NONE integer 0x0
OS_LTPAG_USELOOKAT integer 0x2
OS_LTPAG_USEVEL integer 0x1
OS_NPC_CREATOR_OWNED integer 0x1
OS_NPC_FLY integer 0
OS_NPC_LAND_AT_TARGET integer 2
OS_NPC_NO_FLY integer 1
OS_NPC_NOT_OWNED integer 0x2
OS_NPC_OBJECT_GROUP integer 0x08
OS_NPC_RUNNING integer 4
OS_NPC_SENSE_AS_AGENT integer 0x4
OS_NPC_SIT_NOW integer 0
OSTPOBJ_NONE integer 0x0
OSTPOBJ_SETROT integer 0x4
OSTPOBJ_STOPATTARGET integer 0x1
OSTPOBJ_STOPONFAIL integer 0x2