Difference between revisions of "AGENT ATTACHMENTS"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{#if: {{LSL_Constants/PrimitiveParams}} }}{{LSL Constant |name=AGENT_ATTACHMENTS |type=integer |value=0x0002 |desc= |pa= |text= |pb= |examples |constants= <!--{{LSL ConstRow|CHANGED_SHAPE...)
 
m (Replaced <source> with <syntaxhighlight>; formatted code fragment according to the standard LSL style)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#if:
{{LSL Constant
{{LSL_Constants/PrimitiveParams}}
}}{{LSL Constant
|name=AGENT_ATTACHMENTS
|name=AGENT_ATTACHMENTS
|type=integer
|type=integer
|value=0x0002
|value={{LSL Hex|0x0002}}
|desc=
|desc=
|pa=
|pa=
|text=
|text=
|pb=
|pb=
|examples
|examples=
<syntaxhighlight lang="lsl2">
    // This is a code fragment only
    if (!(llGetAgentInfo(llGetOwner()) & AGENT_ATTACHMENTS))
    { 
        llSay(0, "My attachments have fallen off");
    }
</syntaxhighlight>
|constants=
|constants=
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->

Latest revision as of 10:21, 11 February 2023