UI.ListShipPrediction x:Int, y:Int, [sid:Int, ok:Str,
  heading:Str]

List ship prediction (visual scanner).

Computes future positions of all (known) ships and lists all those that will be at x,y using the Visual Scan window. When the sid parameter is given and refers to a valid ship Id, uses that ship's predicted position instead of x,y.

The last three parameters are optional and modify behaviour details. The ok string specifies the name of the "OK" button, it defaults to "OK". Likewise, the heading specifies the window title, it defaults to "Ship Prediction".

The chosen ship Id (or EMPTY if the user canceled) is returned in UI.Result. If no ship matches, a dialog is displayed and EMPTY is returned. This command can't be used in text mode.

Since: PCC2 1.99.26

See also: UI.ChooseObject, UI.ListShips, Global Commands