AGENT_AUTOPILOT
constant
Constant
integer AGENT_AUTOPILOT = 0x2000;Constant groups
Other AgentInfo values (15)
AGENT_ALWAYS_RUN0x1000AGENT_ATTACHMENTS0x2AGENT_AUTOMATED0x4000AGENT_AWAY0x40AGENT_BUSY0x800AGENT_CROUCHING0x400AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT0x8000AGENT_FLYING0x1AGENT_IN_AIR0x100AGENT_MOUSELOOK0x8AGENT_ON_OBJECT0x20AGENT_SCRIPTED0x4AGENT_SITTING0x10AGENT_TYPING0x200AGENT_WALKING0x80
This value is set when the user selects “Go Here” on the ground, or uses the optional Double-Click Auto-Pilot feature.
Under Viewer 2.0 and later, it is also set when:
- the user selects “Sit Here” on the ground.
- an object is selected or edited, and that selection can trigger a
control(CONTROL_ROT_RIGHTandCONTROL_ROT_LEFTcan be activated when selecting an object near the far right or left edge of the screen).
Examples
Section titled “Examples”Example 1
if (llGetAgentInfo( llGetOwner() ) & AGENT_AUTOPILOT) llSay(0, "Oops, sorry, don't blame me, it was my auto-pilot!");History
Section titled “History”- VWR-13202 - Bug report where
AGENT_AUTOPILOTwas proposed and implementation was discussed. AGENT_AUTOPILOTwas added in SVN:2900 r136439 Trunk- Server support added in Second Life Server 1.32.0.136920
See also
Section titled “See also”Constants
Section titled “Constants”| Constant | Type | Value | Description |
|---|---|---|---|
AGENT_FLYING | |||
AGENT_IN_AIR | |||
AGENT_WALKING | |||
AGENT_ALWAYS_RUN |
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.