AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT
constant
Constant
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.
Constant groups
Other AgentInfo values (15)
AGENT_ALWAYS_RUN0x1000AGENT_ATTACHMENTS0x2AGENT_AUTOMATED0x4000AGENT_AUTOPILOT0x2000AGENT_AWAY0x40AGENT_BUSY0x800AGENT_CROUCHING0x400AGENT_FLYING0x1AGENT_IN_AIR0x100AGENT_MOUSELOOK0x8AGENT_ON_OBJECT0x20AGENT_SCRIPTED0x4AGENT_SITTING0x10AGENT_TYPING0x200AGENT_WALKING0x80
Indicates that the agent is floating because of a scripted attachment using either llSetHoverHeight or llGroundRepel.
Caveats
Section titled “Caveats”Not available until server v2024.11-Apple_Cobbler
Examples
Section titled “Examples”Example 1
// This is a code fragment only if (llGetAgentInfo( llGetOwner() ) & AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT) llSay(0, "You're walking on air!");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.