Difference between revisions of "AGENT AWAY"

From Second Life Wiki
Jump to navigation Jump to search
 
m (<lsl> tag to <source>)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{#if:
{{LSL Constant
{{LSL_Constants/PrimitiveParams}}
}}{{LSL Constant
|name=AGENT_AWAY
|name=AGENT_AWAY
|type=integer
|type=integer
|value=0x0800
|value={{LSL Hex|0x0040}}
|desc=
|desc=Indicates that the agent has either toggled away or has been inactive for too long.
|pa=
|pa=
|text=
|text=
|pb=
|pb=
|examples
|examples=
|constants=
<source lang="lsl2">
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->
    // This is a code fragment only
    if (llGetAgentInfo( llGetOwner() ) & AGENT_AWAY)   
        llSay(0, "Hello fairies!");
</source>
|constants
|functions=
|functions=
{{LSL DefineRow||[[llGetAgentInfo]]|}}
{{LSL DefineRow||[[llGetAgentInfo]]|}}
|events=
|events
<!--{{LSL DefineRow||[[changed]]|}}-->
|location
|location
|cat1
|cat1

Latest revision as of 16:05, 22 January 2015