remove_order
Removes one queued autopilot order.
Function
Synopsis
btech.autopilot.remove_order( autopilot, position )
Arguments
DbRef|Object autopilot- A registered BattleTech autopilot.
integer position- The one-based queue position, from 1 through 100.
Returns
None.
Raises
mux.arg.invalidifpositionis not an integer in range.mux.object.invalidormux.object.unavailablefor an invalid autopilot.btech.operation.failedwith reasonactive_orderwhen position 1 is protected ororder_not_foundwhen no such position exists.
Notes
Position 1 is protected whenever an engaged autopilot has queued orders. Later pending orders can still be removed.