Table of Contents

The following constants can be used by most functions that affect one or more links specified by number, such as llSetLinkColor. The first two of them can also be used by functions that affect one single link at a time, such as llGetLinkKey or llLinkSitTarget.

ConstantValueDescription
LINK_THIS -4 refers to the prim the script is in
LINK_ROOT 1 refers to the root prim in a multi-prim linked set
LINK_SET -1 refers to all prims
LINK_ALL_OTHERS -2 refers to all prims other than the one the script is in
LINK_ALL_CHILDREN -3 refers to all children (everything but the root)
ConstantValueDescription
LINK_THIS -4 refers to the prim the script is in
LINK_ROOT 1 refers to the root prim in a multi-prim linked set