Difference between revisions of "Template:LSL Function/link"
Jump to navigation
Jump to search
m |
m (updating categorization) |
||
Line 1: | Line 1: | ||
{{#if: | <noinclude>{{Multi-lang|category=LSL}}</noinclude>{{#if: | ||
{{#vardefine:header|{{#var:header}} | {{#vardefine:header|{{#var:header}} | ||
{{#switch:{{#if:{{{nc|}}}|Template|{{NAMESPACE}}}}|Template=|User=|{{LSLC|Link{{#var:lang}}}}{{#if:{{{mode|}}}|{{LSLC|Link/{{{mode}}}{{#var:lang}}}}}}}}}} | {{#switch:{{#if:{{{nc|}}}|Template|{{NAMESPACE}}}}|Template=|User=|}}}} | ||
<includeonly> | |||
{{#ifeq:{{#var:article-type}}|event||{{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}||{{#vardefine:hidden-text|{{#var:hidden-text}} | |||
{{LSLC|Link{{#var:lang}}}}{{#if:{{{mode|}}}|{{LSLC|Link/{{{mode}}}{{#var:lang}}}}}} | |||
}}}}}} | |||
</includeonly> | |||
{{#if:{{{nlf|}}}{{{noconst|}}}|| | {{#if:{{{nlf|}}}{{{noconst|}}}|| | ||
Line 9: | Line 15: | ||
}} | }} | ||
{{#vardefine:p_{{{1|}}}_desc|[[Link]] number (0: {{HoverText|unlinked|When an object is made up of only one prim, the link number of the (root) prim is zero.}}, 1: root prim, >1: child prims) {{#if:{{{nlf|}}}||or a LINK_* [[flag]] | {{#vardefine:p_{{{1|}}}_desc|[[Link]] number (0: {{HoverText|unlinked|When an object is made up of only one prim, the link number of the (root) prim is zero.}}, 1: root prim, >1: child prims) {{#if:{{{nlf|}}}||or a LINK_* [[flag]]}} }} | ||
{{#vardefine:p_{{{1|}}}_hover|Link number (0: unlinked, 1: root prim, >1: child prims) {{#if:{{{nlf|}}}||or a LINK_* flag | {{#vardefine:p_{{{1|}}}_hover|Link number (0: unlinked, 1: root prim, >1: child prims) {{#if:{{{nlf|}}}||or a LINK_* flag}} }} | ||
{{#if:{{{nogroup|}}}| | {{#if:{{{nogroup|}}}| |
Revision as of 11:44, 25 December 2010
#var | value | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
p__desc | Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag | |||||||||||||||||||||||
also_functions |
| |||||||||||||||||||||||
constants_nb |
| |||||||||||||||||||||||
spec | Link NumbersEach prim that makes up an object has an address, a link number. To access a specific prim in the object, the prim's link number must be known. In addition to prims having link numbers, avatars seated upon the object do as well.
When an avatar sits on an object, it is added to the end of the link set and will have the largest link number. In addition to this, while an avatar is seated upon an object, the object is unable to link or unlink prims without unseating the avatars first.
|