Skip to content
lsl.devlsl.devLSL Dev

AGENT AUTOPILOT

Looking for the current API? Open the AGENT_AUTOPILOT reference →

Wiki description

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_RIGHT and CONTROL_ROT_LEFT can be activated when selecting an object near the far right or left edge of the screen).

Examples

    if (llGetAgentInfo( llGetOwner() ) & AGENT_AUTOPILOT)    
        llSay(0, "Oops, sorry, don't blame me, it was my auto-pilot!");

See also: constants

See also: functions

History

  • VWR-13202 - Bug report where AGENT_AUTOPILOT was proposed and implementation was discussed.
  • AGENT_AUTOPILOT was added in SVN:2900 r136439 Trunk
  • Server support added in Second Life Server 1.32.0.136920
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.

From the Second Life Wiki

Community documentation adapted from AGENT AUTOPILOT, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.