UI.Search [query:Str, flags:Any]
Search.
When called with no parameters, just opens the Search dialog. When a search query is present, it is immmediately evaluated. The query parameter is the search string, the flags specify the kind of search:
- "P": include planets in search.
- "S": include ships in search.
- "B": include starbases in search.
- "U": include UFOs in search.
- "O": include the other objects in search.
- "1": search for name or Id.
- "2": search for expression which is true (default).
- "3": search for expression which is false.
- "4": search for location.
Briefly, letters correspond to the checklist in the top-left of the search window, digits correspond to the selection list in the top-right. You can specify any number of letters but only one digit. By default, all objects are searched for an expression which is true.
Since: PCC 1.1.2, PCC2 1.99.10