AGENT_AWAY
constant
Constant
integer AGENT_AWAY = 0x40;Used with llGetAgentInfo to determine if the avatar is in 'away' mode, which indicates they toggled away or have been inactive for too long.
Constant groups
Other AgentInfo values (15)
AGENT_ALWAYS_RUN0x1000AGENT_ATTACHMENTS0x2AGENT_AUTOMATED0x4000AGENT_AUTOPILOT0x2000AGENT_BUSY0x800AGENT_CROUCHING0x400AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT0x8000AGENT_FLYING0x1AGENT_IN_AIR0x100AGENT_MOUSELOOK0x8AGENT_ON_OBJECT0x20AGENT_SCRIPTED0x4AGENT_SITTING0x10AGENT_TYPING0x200AGENT_WALKING0x80
Indicates that the agent has either toggled away or has been inactive for too long.
Examples
Section titled “Examples”Example 1
// This is a code fragment only if (llGetAgentInfo( llGetOwner() ) & AGENT_AWAY) llSay(0, "Hello fairies!");See also
Section titled “See also”Functions
Section titled “Functions”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.