AGENT CROUCHING: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Add example
m <lsl> tag to <source>
 
Line 8: Line 8:
|pb=
|pb=
|examples=
|examples=
<lsl>
<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.");
</lsl>
</source>
|constants=
|constants=
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->

Latest revision as of 16:07, 22 January 2015