CargoUnload amount:Cargo, [flags:Str]
Unload cargo to planet (or jettison). cargo is the amount and type to transfer, as a cargo set.
The optional second parameter, options, is a string containing some options:
- "O": permit overloading the ships.
- "S": sell supplies on-the-fly.
- "N": don't generate an error when the cargo can not completely be transferred. Instead, sets the variable Cargo.Remainder accordingly.
- "J": permit jettison. By default, this command will fail if the ship does not orbit a planet.
This command is equivalent to
CargoUpload CMul(amount, -1), flags
See also: CargoUpload, CargoTransfer, Ship Commands