SetSky

Kategorie: Himmel
Ab Engineversion: 8.0 OC

Beschreibung

Changes the current sky graphics.

Syntax

bool SetSky(string sky);

Parameter

sky:
Name of the new sky from Graphics.ocg or the scenario, without filename extension.

Anmerkung

Changing the sky with this function will not persist in savegames. Consider using the Sky entry in Scenario.txt instead, possibly combined with scenario sections.

Beispiel

SetSky("Default");
Changes to the default sky.
Siehe auch: Scenario.txt Documentation, SetSkyAdjust
Luchs, 2016-10