Difference between revisions of "AGENT ATTACHMENTS"
Jump to navigation
Jump to search
m (Replaced <source> with <syntaxhighlight>; formatted code fragment according to the standard LSL style) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|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 09:21, 11 February 2023
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer AGENT_ATTACHMENTS = 0x0002;The integer constant AGENT_ATTACHMENTS has the value 0x0002
Caveats
Related Articles
Functions
• | llGetAgentInfo |
Examples
// This is a code fragment only
if (!(llGetAgentInfo(llGetOwner()) & AGENT_ATTACHMENTS))
{
llSay(0, "My attachments have fallen off");
}