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

From Second Life Wiki
Jump to navigation Jump to search
m (Changed "task" to "prim" for consistancy)
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{!}}
{{{!}} style={{{ostyle|}}}
{{!}}- valign="top"
{{!}}- valign="top"
{{!}}
{{!}}
{{{!}} {{Prettytable}}
{{{!}} {{Prettytable|style={{{istyle|}}}}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! colspan="2" {{!}}Flag
! colspan="2" {{!}}Flag
!Description
!Description
{{!}}-
{{!}}-
{{!}} {{LSL Const|LINK_ROOT|integer|1|c=sends to root prim in a linked set}}
{{!}} {{LSL Const|LINK_ROOT|integer|1|c=sends to the root prim in a multi-prim linked set}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#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}}
{{!}} {{LSL Const|LINK_SET|integer|-1|c=sends to all prims}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
Line 17: Line 17:
{{!}} {{LSL Const|LINK_ALL_OTHERS|integer|-2|c=sends to all other prims}}
{{!}} {{LSL Const|LINK_ALL_OTHERS|integer|-2|c=sends to all other prims}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}}}
{{!}}}
{{!}}}
{{!}}
{{!}}
{{{!}} {{Prettytable}}
{{{!}} {{Prettytable|style={{{istyle|}}}}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! colspan="2" {{!}}Flag
! colspan="2" {{!}}Flag
!Description
!Description
{{!}}-
{{!}}-
{{!}} {{LSL Const|LINK_ALL_CHILDREN|integer|-3|c=sends to all children}}
{{#if:{{{nogroup|}}}||{{!}} {{LSL Const|LINK_ALL_CHILDREN|integer|-3|c=sends to all children, (everything but the root)}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|LINK_THIS|integer|-4|c=sends to the prim the script is in}}
{{!}} {{LSL Const|LINK_THIS|integer|-4|c=sends to the prim the script is in}}
Line 33: Line 33:
{{!}} {{#var:comment}}
{{!}} {{#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