Skip to content
lsl.devlsl.devLSL Dev

AGENT_ALWAYS_RUN

constant
Constant
integer AGENT_ALWAYS_RUN = 0x1000;

Used with llGetAgentInfo to determine if the queried avatar has 'Always Run' enabled or is using tap-tap-hold.

Constant groups

AgentInfo

Other AgentInfo values (15)

Used with llGetAgentInfo to determine if the queried avatar has ‘always running’ set.

Example 1
// This is a code fragment only
if (llGetAgentInfo( llGetOwner() ) & AGENT_ALWAYS_RUN)
llSay(0, "Give me a rest!");
ConstantValReturned if agent…
40960x1000has running ("Always Run") enabled, or is using tap-tap-hold
20x0002has attachments
163840x4000is marked as a scripted agent/bot
81920x2000is in "autopilot" mode
640x0040is in "away" mode
20480x0800is in "busy" mode
10240x0400is crouching
327680x8000is floating or hovering because of a scripted attachment
10x0001is flying or hovering
2560x0100is in the air (jumping, flying or falling)
80x0008is in mouselook
320x0020is sitting on an object (and linked to it)
40x0004has scripted attachments
160x0010is sitting1
5120x0200is typing
1280x0080is walking, running or crouch walking
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.

  1. “Sit down” on the avatar context menu allows ground sits anywhere: atop the terrain, on objects or even in the air, so it is possible to sit “on” an object without linking. ↩