Skip to content
lsl.devlsl.devLSL Dev

Constants in the AgentInfo flag set. These are flags and can be combined with bitwise OR.

All constant groups

At a glance, from the LSL definitions
integer AGENT_ALWAYS_RUN = 0x1000;  // Used with llGetAgentInfo to determine if the queried avatar has 'Always Run' enabled or is using tap-tap-hold.integer AGENT_ATTACHMENTS = 0x2;  // Used with llGetAgentInfo to determine if the queried avatar has attachments.integer AGENT_AUTOMATED = 0x4000;  // Used with llGetAgentInfo to identify if the avatar is registered with Linden Lab as an automated/scripted agent (bot).integer AGENT_AUTOPILOT = 0x2000;  // Used with llGetAgentInfo to determine if the avatar is in autopilot mode, which is enabled when the user selects 'Go Here' on the ground or uses double-click autopilot.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.integer AGENT_BUSY = 0x800;  // Used with llGetAgentInfo to determine if the avatar is in 'busy' mode.integer AGENT_CROUCHING = 0x400;  // Used with llGetAgentInfo to determine if the avatar is crouching.integer AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT = 0x8000;  // Used with llGetAgentInfo to determine if the avatar is floating or hovering because of a scripted attachment using either llSetHoverHeight or llGroundRepel.integer AGENT_FLYING = 0x1;  // Used with llGetAgentInfo to determine if the queried avatar is flying or hovering.integer AGENT_IN_AIR = 0x100;  // Used with llGetAgentInfo to determine if the avatar is in the air (jumping, flying, or falling).integer AGENT_MOUSELOOK = 0x8;  // Used with llGetAgentInfo to determine if the avatar is in mouselook.integer AGENT_ON_OBJECT = 0x20;  // Used with llGetAgentInfo to determine if the avatar is sitting on an object and linked to it.integer AGENT_SCRIPTED = 0x4;  // Used with llGetAgentInfo to determine if the avatar is carrying scripted objects or has scripted attachments.integer AGENT_SITTING = 0x10;  // Used with llGetAgentInfo to determine if the avatar is sitting.integer AGENT_TYPING = 0x200;  // Used with llGetAgentInfo to determine if the avatar is typing.integer AGENT_WALKING = 0x80;  // Used with llGetAgentInfo to determine if the queried avatar is walking, running, or crouch walking.

Constants

ConstantTypeValueDescription
AGENT_ALWAYS_RUNinteger0x1000Used with llGetAgentInfo to determine if the queried avatar has 'Always Run' enabled or is using tap-tap-hold.
AGENT_ATTACHMENTSinteger0x2Used with llGetAgentInfo to determine if the queried avatar has attachments.
AGENT_AUTOMATEDinteger0x4000Used with llGetAgentInfo to identify if the avatar is registered with Linden Lab as an automated/scripted agent (bot).
AGENT_AUTOPILOTinteger0x2000Used with llGetAgentInfo to determine if the avatar is in autopilot mode, which is enabled when the user selects 'Go Here' on the ground or uses double-click autopilot.
AGENT_AWAYinteger0x40Used with llGetAgentInfo to determine if the avatar is in 'away' mode, which indicates they toggled away or have been inactive for too long.
AGENT_BUSYinteger0x800Used with llGetAgentInfo to determine if the avatar is in 'busy' mode.
AGENT_CROUCHINGinteger0x400Used with llGetAgentInfo to determine if the avatar is crouching.
AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENTinteger0x8000Used with llGetAgentInfo to determine if the avatar is floating or hovering because of a scripted attachment using either llSetHoverHeight or llGroundRepel.
AGENT_FLYINGinteger0x1Used with llGetAgentInfo to determine if the queried avatar is flying or hovering.
AGENT_IN_AIRinteger0x100Used with llGetAgentInfo to determine if the avatar is in the air (jumping, flying, or falling).
AGENT_MOUSELOOKinteger0x8Used with llGetAgentInfo to determine if the avatar is in mouselook.
AGENT_ON_OBJECTinteger0x20Used with llGetAgentInfo to determine if the avatar is sitting on an object and linked to it.
AGENT_SCRIPTEDinteger0x4Used with llGetAgentInfo to determine if the avatar is carrying scripted objects or has scripted attachments.
AGENT_SITTINGinteger0x10Used with llGetAgentInfo to determine if the avatar is sitting.
AGENT_TYPINGinteger0x200Used with llGetAgentInfo to determine if the avatar is typing.
AGENT_WALKINGinteger0x80Used with llGetAgentInfo to determine if the queried avatar is walking, running, or crouch walking.