# Set Background Model

Grammar — Set type background model to model at speed% animation speed
FlagsNative | Action

Set or change the skybox on a map.

# Arguments

  • int [ preset::BackgroundType ] — Type
  • string [ gamelink::Model ] — Model
  • fixed — Speed

Returns — void

native void GameSetBackground(
	int inType,
	string inModel,
	fixed inAnimSpeed,
);

Category: Environment / Fog And Background

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L724
GameSetBackground(c_backgroundFixed, "SS_BackgroundSpaceProtossLarge", 100.0)
// L866
GameSetBackground(c_backgroundFixed, "SS_BackgroundSpaceZergLarge", 100.0)
// L1193
GameSetBackground(c_backgroundFixed, "SS_BackgroundSpaceTerranLarge", 100.0)
// L6329
GameSetBackground(c_backgroundFixed, "WastelandRock0", 100.0)
// L5396
GameSetBackground(c_backgroundFixed, "AiurSkybox", 100.0)
// L6620
GameSetBackground(c_backgroundFixed, "BelShirSkyBox", 100.0)
// L829
GameSetBackground(c_backgroundFixed, null, 100.0)
// L5597
GameSetBackground(c_backgroundFixed, "BelShirSkyBox", 100.0)
// L5827
GameSetBackground(c_backgroundFixed, "BelShirSkyBox", 100.0)
// L5481
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L5724
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L5857
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L6328
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L6612
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L7088
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L4939
GameSetBackground(c_backgroundFixed, "MarSaraSkyBox", 100.0)
// L5805
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L629
GameSetBackground(c_backgroundFixed, null, 100.0)
// L4648
GameSetBackground(c_backgroundFixed, "MarSaraSkyBox", 100.0)
// L4844
GameSetBackground(c_backgroundFixed, "MarSaraSkyBox", 100.0)
// L7947
GameSetBackground(c_backgroundTerrain, "SMCharInteractiveSkyparallax", 100.0)
// L7950
GameSetBackground(c_backgroundTerrain, "SMCharInteractive02Skyparallax", 100.0)
// L19820
GameSetBackground(c_backgroundFixed, null, 100.0)
// L19821
GameSetBackground(c_backgroundTerrain, null, 100.0)
// L19850
GameSetBackground(c_backgroundFixed, null, 5.0)
// L19851
GameSetBackground(c_backgroundTerrain, null, 5.0)
// L19890
GameSetBackground(c_backgroundFixed, null, 100.0)
// L19891
GameSetBackground(c_backgroundTerrain, null, 100.0)
// L19957
GameSetBackground(c_backgroundFixed, null, 100.0)
// L19958
GameSetBackground(c_backgroundTerrain, null, 100.0)
// L5107
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L867
GameSetBackground(c_backgroundFixed, null, 100.0)
// L3937
GameSetBackground(c_backgroundFixed, "BelShirSkyBox", 100.0)
// L4246
GameSetBackground(c_backgroundFixed, "BelShirSkyBox", 100.0)
// L543
GameSetBackground(c_backgroundFixed, "ShakurasSkyBox", 100.0)
// L562
GameSetBackground(c_backgroundFixed, null, 100.0)
// L4510
GameSetBackground(c_backgroundFixed, "ShakurasSkyBox", 100.0)
// L609
GameSetBackground(c_backgroundFixed, null, 100.0)
// L5004
GameSetBackground(c_backgroundFixed, "XilSkybox", 100.0)
// L5169
GameSetBackground(c_backgroundFixed, "XilSkybox", 100.0)
// L5426
GameSetBackground(c_backgroundFixed, null, 100.0)
// L5661
GameSetBackground(c_backgroundFixed, "XilSkybox", 100.0)
// L3676
GameSetBackground(c_backgroundFixed, "AvernusSkybox", 100.0)
// L924
GameSetBackground(c_backgroundFixed, null, 100.0)
// L4800
GameSetBackground(c_backgroundFixed, "CharSkyBox", 100.0)
// L5559
GameSetBackground(c_backgroundFixed, "CharSkyBox", 100.0)
// L9899
GameSetBackground(c_backgroundFixed, "VC_Zeratul1_Sky", 100.0)
// L4347
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L4802
GameSetBackground(c_backgroundFixed, "AiurSkybox", 100.0)
// L5181
GameSetBackground(c_backgroundFixed, "AiurSkybox", 100.0)
// L5243
GameSetBackground(c_backgroundFixed, "AiurSkybox", 100.0)
// L5315
GameSetBackground(c_backgroundFixed, "AiurSkybox", 100.0)
// L5414
GameSetBackground(c_backgroundFixed, "AiurSkybox", 100.0)
// L5415
GameSetBackground(c_backgroundTerrain, "BraxisAlphaSkyParallax", 100.0)
// L5496
GameSetBackground(c_backgroundTerrain, "AvernusSkybox", 100.0)
// L6043
GameSetBackground(c_backgroundFixed, "ShakurasSkyBox", 100.0)
// L6671
GameSetBackground(c_backgroundFixed, "ShakurasSkyBox", 100.0)
// L724
GameSetBackground(c_backgroundFixed, "SS_BackgroundSpaceProtossLarge", 100.0)
// L866
GameSetBackground(c_backgroundFixed, "SS_BackgroundSpaceZergLarge", 100.0)
// L1193
GameSetBackground(c_backgroundFixed, "SS_BackgroundSpaceTerranLarge", 100.0)
// L6329
GameSetBackground(c_backgroundFixed, "WastelandRock0", 100.0)
// L5396
GameSetBackground(c_backgroundFixed, "AiurSkybox", 100.0)
// L6620
GameSetBackground(c_backgroundFixed, "BelShirSkyBox", 100.0)
// L829
GameSetBackground(c_backgroundFixed, null, 100.0)
// L5597
GameSetBackground(c_backgroundFixed, "BelShirSkyBox", 100.0)
// L5827
GameSetBackground(c_backgroundFixed, "BelShirSkyBox", 100.0)
// L5481
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L5724
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L5857
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L6328
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L6612
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L7088
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L4939
GameSetBackground(c_backgroundFixed, "MarSaraSkyBox", 100.0)
// L5805
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L629
GameSetBackground(c_backgroundFixed, null, 100.0)
// L4648
GameSetBackground(c_backgroundFixed, "MarSaraSkyBox", 100.0)
// L4844
GameSetBackground(c_backgroundFixed, "MarSaraSkyBox", 100.0)
// L7947
GameSetBackground(c_backgroundTerrain, "SMCharInteractiveSkyparallax", 100.0)
// L7950
GameSetBackground(c_backgroundTerrain, "SMCharInteractive02Skyparallax", 100.0)
// L19820
GameSetBackground(c_backgroundFixed, null, 100.0)
// L19821
GameSetBackground(c_backgroundTerrain, null, 100.0)
// L19850
GameSetBackground(c_backgroundFixed, null, 5.0)
// L19851
GameSetBackground(c_backgroundTerrain, null, 5.0)
// L19890
GameSetBackground(c_backgroundFixed, null, 100.0)
// L19891
GameSetBackground(c_backgroundTerrain, null, 100.0)
// L19957
GameSetBackground(c_backgroundFixed, null, 100.0)
// L19958
GameSetBackground(c_backgroundTerrain, null, 100.0)
// L5107
GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0)
// L867
GameSetBackground(c_backgroundFixed, null, 100.0)
// L3937
GameSetBackground(c_backgroundFixed, "BelShirSkyBox", 100.0)
// L4246
GameSetBackground(c_backgroundFixed, "BelShirSkyBox", 100.0)
// L543
GameSetBackground(c_backgroundFixed, "ShakurasSkyBox", 100.0)
// L562
GameSetBackground(c_backgroundFixed, null, 100.0)
// L4510
GameSetBackground(c_backgroundFixed, "ShakurasSkyBox", 100.0)
// L609
GameSetBackground(c_backgroundFixed, null, 100.0)
// L5004
GameSetBackground(c_backgroundFixed, "XilSkybox", 100.0)
// L5169
GameSetBackground(c_backgroundFixed, "XilSkybox", 100.0)
// L5426
GameSetBackground(c_backgroundFixed, null, 100.0)
// L5661
GameSetBackground(c_backgroundFixed, "XilSkybox", 100.0)
// L3676
GameSetBackground(c_backgroundFixed, "AvernusSkybox", 100.0)