Skip to content
lsl.devlsl.devLSL Dev

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

AgentInfo

Other AgentInfo values (15)

Indicates that the agent is floating because of a scripted attachment using either llSetHoverHeight or llGroundRepel.

Not available until server v2024.11-Apple_Cobbler

Example 1
// This is a code fragment only
if (llGetAgentInfo( llGetOwner() ) & AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT)
llSay(0, "You're walking on air!");
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.