Difference between revisions of "LINK THIS"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Issues/SVC-600}}{{Issues/SVC-3510}}{{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=Targets the prim the script resides 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
|issues

Latest revision as of 16:10, 28 October 2023

Description

Constant: integer LINK_THIS = -4;

The integer constant LINK_THIS has the value -4

Targets the prim the script resides in.

The opposite flag of this is LINK_ALL_OTHERS.

Caveats


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;