OpenMetaverse.AgentManager.AutoPilotCancel C# (CSharp) Method

AutoPilotCancel() public method

Macro to cancel autopilot sim function
Not certain if this is how it is really done
public AutoPilotCancel ( ) : bool
return bool
        public bool AutoPilotCancel()
        {
            if (Client.Settings.SEND_AGENT_UPDATES)
            {
                Movement.AtPos = true;
                Movement.SendUpdate();
                Movement.AtPos = false;
                Movement.SendUpdate();
                return true;
            }
            else
            {
                Logger.Log("Attempted to AutoPilotCancel() but agent updates are disabled", Helpers.LogLevel.Warning, Client);
                return false;
            }
        }