Difference between revisions of "AGENT AWAY"
Jump to navigation
Jump to search
m (hex) |
m (<lsl> tag to <source>) |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 3: | Line 3: | ||
|type=integer | |type=integer | ||
|value={{LSL Hex|0x0040}} | |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= | ||
<source lang="lsl2"> | |||
< | // 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 | ||
|location | |location | ||
|cat1 | |cat1 |
Latest revision as of 16:05, 22 January 2015
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer AGENT_AWAY = 0x0040;The integer constant AGENT_AWAY has the value 0x0040
Indicates that the agent has either toggled away or has been inactive for too long.
Caveats
Related Articles
Functions
• | llGetAgentInfo |
Examples
// This is a code fragment only
if (llGetAgentInfo( llGetOwner() ) & AGENT_AWAY)
llSay(0, "Hello fairies!");