Allows to change map sky and sky color at runtime.


OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.

Name targetname : Set name of trigger_changesky so other entities can trigger it to change sky. Every trigger use-type works uniformly. Can be kill-targeted.

Sky Name skyname : Name of the sky to set when this entity is triggered.

Color color : Sky color to set.


  • 1 : All players : Make map sky change visible to all players on server.

  • 2 : No clients : Do not affect clients.

  • 4 : Update server : Affect server.