UI.GotoScreen screen:Int, [id:Int]

Go to control screen. This command activates the specified screen. If the id is specified and valid, shows that object.

IdScreen
0Race screen. You can not specify an id here.
1Ship screen. id is a ship Id.
2Planet screen. id is a planet Id.
3Starbase screen. id is a starbase Id.
4Starchart. You can not specify an id here. Also see UI.GotoChart.
6Starship history. id is a ship Id.
10Fleet screen. id is a fleet Id.
11Ship auto task screen. id is a ship Id.
12Planet auto task screen. id is a planet Id.
13Starbase auto task screen. id is a starbase Id.

Note that this command will have immediate effect. It will suspend your script temporarily, switch to the new screen, and resume.

Since: PCC 1.0.14, PCC2 1.99.10

See also: UI.GotoChart