Planar Move to a Local Position

4 November 2015

  • Release 9.36 - Added the deanimate optional parameter that stops all animations before the command executes.

23 May 2015

  • Release 8.13 - the command has been renamed from move to autopilot.

3 December 2014

  • Release 7.27 - the move command no longer requires a position parameter for the stop action.
autopilot (Commands)
TypeCorrade progressive command
Commandautopilot
DescriptionThe autopilot command makes Corrade use the simulator auto-pilot to move to a specified position.
Permissionsmovement
Parametersgroup, password, position, action
Last ChangesRelease 9.36 - Added the deanimate optional parameter that stops all animations before the command executes.

The autopilot command makes Corrade use the simulator auto-pilot to move to a specified position. Note that the simulator auto-pilot command will not work properly if the position vector has a set z component higher than the current altitude of the bot.

Command Required Parameters Required Corrade Permissions Example
autopilot group, password, position, action movement
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "autopilot",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // one meter on the positive x axis
            "position", llGetPos() + <1,0,0>,
            "action", "start"
        ]
    )
);
Parameter Possible Value Description
action start Starts moving to the given position.
stop Cancels the movement.
Optional Parameter Possible Value Description
deanimate True or False Stop all non-Linden animations before executing the command.

The position parameter is only required if the action parameter has been set to start.


secondlife/scripted_agents/corrade/api/progressive/commands/autopilot.txt ยท Last modified: 2017/02/22 18:28 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.