AGENT_ATTACHMENTS
constant
Constant
integer AGENT_ATTACHMENTS = 0x2;Used with llGetAgentInfo to determine if the queried avatar has attachments.
Constant groups
Other AgentInfo values (15)
AGENT_ALWAYS_RUN0x1000AGENT_AUTOMATED0x4000AGENT_AUTOPILOT0x2000AGENT_AWAY0x40AGENT_BUSY0x800AGENT_CROUCHING0x400AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT0x8000AGENT_FLYING0x1AGENT_IN_AIR0x100AGENT_MOUSELOOK0x8AGENT_ON_OBJECT0x20AGENT_SCRIPTED0x4AGENT_SITTING0x10AGENT_TYPING0x200AGENT_WALKING0x80
Examples
Section titled “Examples”Example 1
// This is a code fragment only if (!(llGetAgentInfo(llGetOwner()) & AGENT_ATTACHMENTS)) { llSay(0, "My attachments have fallen off"); }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.