llCreateLink
function ll.CreateLink(TargetPrim: string, Parent: number)Attempt to link the object the script is in, to target (requires permission PERMISSION_CHANGE_LINKS be set).
Requires permission PERMISSION_CHANGE_LINKS be set.
Parameters
-
TargetPrim(string) - Object UUID that is in the same region.
-
Parent(number) - If FALSE, then TargetPrim becomes the root. If TRUE, then the script's object becomes the root.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.CreateLink().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llCreateLink