Difference between revisions of "AGENT ATTACHMENTS"
Jump to navigation
Jump to search
m (<lsl> tag to <source>) |
m (Replaced <source> with <syntaxhighlight>; formatted code fragment according to the standard LSL style) |
||
Line 8: | Line 8: | ||
|pb= | |pb= | ||
|examples= | |examples= | ||
< | <syntaxhighlight lang="lsl2"> | ||
// This is a code fragment only | // This is a code fragment only | ||
if ( ! (llGetAgentInfo( llGetOwner() ) & AGENT_ATTACHMENTS) ) | if (!(llGetAgentInfo(llGetOwner()) & AGENT_ATTACHMENTS)) | ||
{ | |||
llSay(0, "My attachments have fallen off"); | 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");
}