Difference between revisions of "LINK THIS"

From Second Life Wiki
Jump to navigation Jump to search
(*grin*)
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{LSL Constant
{{Issues/SVC-600}}{{Issues/SVC-3510}}{{Issues/SVC-3199}}{{LSL Constant
|name=LINK_THIS
|name=LINK_THIS
|type=integer
|type=integer
|value=-4
|value=-4
|desc
|desc=Causes the script to act only upon the prim the script is in.
 
The opposite flag of this is [[LINK_ALL_OTHERS]].
|examples
|examples
|constants=
|constants=
Line 17: Line 19:
{{LSL DefineRow||[[llSetLinkAlpha]]|}}
{{LSL DefineRow||[[llSetLinkAlpha]]|}}
{{LSL DefineRow||[[llSetLinkColor]]|}}
{{LSL DefineRow||[[llSetLinkColor]]|}}
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}
{{LSL DefineRow||[[llSetLinkPrimitiveParamsFast]]|}}
|events=
|events=
|issues
|cat1=Link
|cat1=Link
|cat2=Link Message
|cat2=Link Message

Revision as of 23:01, 15 May 2010

Description

Constant: integer LINK_THIS = -4;

The integer constant LINK_THIS has the value -4

Causes the script to act only upon the prim the script is in.

The opposite flag of this is LINK_ALL_OTHERS.

Caveats

Important Issues

~ All Issues ~ Search JIRA for related Bugs
   LINK_* flags do not work with llBreakLink
   llSetLinkTexture(LINK_THIS, foo, bar) does not work for non-full-perm textures.

Related Articles

Deep Notes

All Issues

~ Search JIRA for related Issues
   llGetLinkKey returns the wrong result when passed LINK_THIS
   LINK_* flags do not work with llBreakLink
   llSetLinkTexture(LINK_THIS, foo, bar) does not work for non-full-perm textures.

Signature

integer LINK_THIS = -4;