forked from Stellarium/stellarium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstellations_tour.ssc
39 lines (35 loc) · 1.08 KB
/
constellations_tour.ssc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// Name: Constellations Tour
// License: Public Domain
// Author: Alexander Wolf
// Shortcut: Ctrl+U,1
// Description: A tour of the western constellations.
include("common_objects.inc");
core.clear("starchart");
GridLinesMgr.setFlagEquatorGrid(false);
ConstellationMgr.setFlagArt(false);
ConstellationMgr.setFlagBoundaries(false);
ConstellationMgr.setFlagLines(false);
ConstellationMgr.setFlagLabels(false);
core.setGuiVisible(false);
var id = LabelMgr.labelScreen("Press Ctrl+T to un-hide the toolbar", 100,100, false, 20);
LabelMgr.setLabelShow(id, true);
core.wait(4);
LabelMgr.setLabelShow(id, false);
LabelMgr.deleteLabel(id);
ConstellationMgr.setFlagBoundaries(true);
ConstellationMgr.setFlagLines(true);
ConstellationMgr.setFlagLabels(true);
ConstellationMgr.setFlagIsolateSelected(true);
for (i=0; i<constellations.length; i++)
{
objName = constellations[i];
core.selectObjectByName(objName, true);
StelMovementMgr.autoZoomIn(6);
core.wait(1);
StelMovementMgr.zoomTo(40,8);
core.wait(1);
ConstellationMgr.setFlagArt(true);
core.wait(10);
ConstellationMgr.setFlagArt(false);
}