Difference between revisions of "Template:LSL Constants/Link"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{{!}} {{Prettytable}}
{{{!}} style={{{ostyle|}}}
{{!}}- valign="top"
{{!}}
{{{!}} {{Prettytable|style={{{istyle|}}}}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! colspan="2" {{!}}Flag
! colspan="2" {{!}}Flag
!Description
!Description
{{!}}-
{{!}}-
{{!}} {{LSLG|LINK_ROOT}}
{{!}} {{LSL Const|LINK_ROOT|integer|1|c=sends to the root prim in a multi-prim linked set}}
{{!}} 1
{{!}} {{#var:value}}
{{!}} sends to root task in a linked set
{{!}} {{#var:comment}}{{Footnote|handle=LINK_ROOT|LINK_ROOT does not work on single prim objects. Unless there is an avatar sitting on the object.}}
{{#if:{{{nogroup|}}}||{{!}}-
{{!}} {{LSL Const|LINK_SET|integer|-1|c=sends to all prims}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSLG|LINK_SET}}
{{!}} {{LSL Const|LINK_ALL_OTHERS|integer|-2|c=sends to all other prims}}
{{!}} -1
{{!}} {{#var:value}}
{{!}} sends to all tasks
{{!}} {{#var:comment}}}}
{{!}}-
{{!}}}
{{!}} {{LSLG|LINK_ALL_OTHERS}}
{{!}}
{{!}} -2
{{{!}} {{Prettytable|style={{{istyle|}}}}}
{{!}} sends to all other tasks
{{!}}-{{Hl2}}
! colspan="2" {{!}}Flag
!Description
{{!}}-
{{!}}-
{{!}} {{LSLG|LINK_ALL_CHILDREN}}
{{#if:{{{nogroup|}}}||{{!}} {{LSL Const|LINK_ALL_CHILDREN|integer|-3|c=sends to all children, (everything but the root)}}
{{!}} -3
{{!}} {{#var:value}}
{{!}} sends to all children
{{!}} {{#var:comment}}}}
{{!}}-
{{!}}-
{{!}} {{LSLG|LINK_THIS}}
{{!}} {{LSL Const|LINK_THIS|integer|-4|c=sends to the prim the script is in}}
{{!}} -4
{{!}} {{#var:value}}
{{!}} sends to the task the script it is in
{{!}} {{#var:comment}}
{{!}}}
{{!}}}
{{!}}}<noinclude>
{{LSL Constants/Link|nogroup=*}}
</noinclude>

Latest revision as of 23:14, 5 November 2013

Flag Description
LINK_ROOT 1 sends to the root prim in a multi-prim linked set[1]
LINK_SET -1 sends to all prims
LINK_ALL_OTHERS -2 sends to all other prims
Flag Description
LINK_ALL_CHILDREN -3 sends to all children, (everything but the root)
LINK_THIS -4 sends to the prim the script is in
Flag Description
LINK_ROOT 1 sends to the root prim in a multi-prim linked set[1]
Flag Description
LINK_THIS -4 sends to the prim the script is in