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.
| Id | Screen | 
|---|---|
| 0 | Race screen. You can not specify an id here. | 
| 1 | Ship screen. id is a ship Id. | 
| 2 | Planet screen. id is a planet Id. | 
| 3 | Starbase screen. id is a starbase Id. | 
| 4 | Starchart. You can not specify an id here. Also see UI.GotoChart. | 
| 6 | Starship history. id is a ship Id. | 
| 10 | Fleet screen. id is a fleet Id. | 
| 11 | Ship auto task screen. id is a ship Id. | 
| 12 | Planet auto task screen. id is a planet Id. | 
| 13 | Starbase 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, Global Commands



