constant
Constant
integer LINK_ROOT = 1;Refers to the root prim of the linkset.
Constant groups
Other Link values (1)
LINK_THIS-4
Other Links values (4)
Targets the root prim in the linkset.
Caveats
Section titled “Caveats”- In a single prim object
LINK_ROOTwill not refer to the root prim! - If your script needs to work in single and multiprim objects, instead of
LINK_ROOT, use either(llGetLinkNumber() != 0)or(!!llGetLinkNumber()) - Alternatively,
LINK_THISworks in both single-prim and multiprim objects, assuming the script is inside the root prim and only needs to refer to itself.
See also
Section titled “See also”Constants
Section titled “Constants”Functions
Section titled “Functions”llBreakLinkllGetLinkKeyllGetLinkNamellMessageLinkedllSetLinkAlphallSetLinkColorllSetLinkPrimitiveParamsFast
Events
Section titled “Events”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.