Difference between revisions of "AGENT CROUCHING"
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_CROUCHING) | if (llGetAgentInfo( llGetOwner() ) & AGENT_CROUCHING) | ||
llSay(0, "I'm getting backache."); | llSay(0, "I'm getting backache."); | ||
</ | </source> | ||
|constants= | |constants= | ||
<!--{{LSL ConstRow|CHANGED_SHAPE}}--> | <!--{{LSL ConstRow|CHANGED_SHAPE}}--> |
Latest revision as of 15:07, 22 January 2015
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer AGENT_CROUCHING = 0x0400;The integer constant AGENT_CROUCHING has the value 0x0400
Caveats
Related Articles
Functions
• | llGetAgentInfo |
Examples
// This is a code fragment only
if (llGetAgentInfo( llGetOwner() ) & AGENT_CROUCHING)
llSay(0, "I'm getting backache.");