AGENT ATTACHMENTS: Difference between revisions
Jump to navigation
Jump to search
Omei Qunhua (talk | contribs) Add example |
m <lsl> tag to <source> |
||
| Line 8: | Line 8: | ||
|pb= | |pb= | ||
|examples= | |examples= | ||
< | <source 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"); | ||
</ | </source> | ||
|constants= | |constants= | ||
<!--{{LSL ConstRow|CHANGED_SHAPE}}--> | <!--{{LSL ConstRow|CHANGED_SHAPE}}--> | ||
Revision as of 16:04, 22 January 2015
| 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");