Skip to content

Operate on one or more link numbers at a time.

All constant groups

At a glance, from the LSL definitions
integer LINK_THIS = -4;  // Refers specifically to the single prim containing the running scriptinteger LINK_ALL_CHILDREN = -3;  // Refers to all child prims in the linkset (every prim except the root)integer LINK_ALL_OTHERS = -2;  // Refers to every other prim in the linkset, excluding the prim containing the scriptinteger LINK_SET = -1;  // Refers to every prim in the linksetinteger LINK_ROOT = 1;  // Refers to the root prim of the linkset

Constants

ConstantTypeValueDescription
LINK_ALL_CHILDRENinteger-3Refers to all child prims in the linkset (every prim except the root).
LINK_ALL_OTHERSinteger-2Refers to every other prim in the linkset, excluding the prim containing the script.
LINK_ROOTinteger1Refers to the root prim of the linkset.
LINK_SETinteger-1Refers to every prim in the linkset.
LINK_THISinteger-4Refers specifically to the single prim containing the running script.

Used by