Unofficial LSL Reference

[[constants:link:start]]


Unofficial LSL reference

User Tools

Login

You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.

Login

Forgotten your password? Get a new one: Set new password

This is an old revision of the document!


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