Difference between revisions of "LINK ROOT"

From Second Life Wiki
Jump to navigation Jump to search
m (fixe)
(I always thought this was a stupid flag (considering the caveat) it's a wonder I didn't document it earlier.)
Line 4: Line 4:
|value=1
|value=1
|desc
|desc
|caveats=
*In a single prim object LINK_ROOT will not refer to the root prim!
**If your script needs to work in single and multiprim objects, instead of <code>[[LINK_ROOT]]</code>, use either <code>([[llGetLinkNumber]]() != 0)</code> or <code>(!![[llGetLinkNumber]]())</code>
|examples
|examples
|constants=
|constants=

Revision as of 09:17, 10 February 2010

Description

Constant: integer LINK_ROOT = 1;

The integer constant LINK_ROOT has the value 1

Caveats

  • In a single prim object LINK_ROOT will not refer to the root prim!
All Issues ~ Search JIRA for related Bugs

Related Articles

Constants

•  LINK_ALL_CHILDREN
•  LINK_ALL_OTHERS
•  LINK_SET
•  LINK_THIS

Functions

•  llBreakLink
•  llGetLinkKey
•  llGetLinkName
•  llMessageLinked
•  llSetLinkAlpha
•  llSetLinkColor

Events

•  link_message

Deep Notes

Search JIRA for related Issues

Signature

integer LINK_ROOT = 1;