Difference between revisions of "LINK ROOT"
Jump to navigation
Jump to search
Gally Young (talk | contribs) 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 08:17, 10 February 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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
LINK_ROOT
, use either(llGetLinkNumber() != 0)
or(!!llGetLinkNumber())
- If your script needs to work in single and multiprim objects, instead of
Related Articles
Constants
• | LINK_ALL_CHILDREN | |||
• | LINK_ALL_OTHERS | |||
• | LINK_SET | |||
• | LINK_THIS |
Functions
• | llBreakLink | |||
• | llGetLinkKey | |||
• | llGetLinkName | |||
• | llMessageLinked | |||
• | llSetLinkAlpha | |||
• | llSetLinkColor |
Events
• | link_message |