Updates all base mods with the MusicPlaylist trait.
This commit is contained in:
@@ -110,12 +110,6 @@ SetupWorld = function()
|
||||
Trigger.OnRemovedFromWorld(crate, function() gdi.MarkCompletedObjective(gdiObjective) end)
|
||||
end
|
||||
|
||||
initialSong = "fist226m"
|
||||
PlayMusic = function()
|
||||
Media.PlayMusic(initialSong, PlayMusic)
|
||||
initialSong = nil
|
||||
end
|
||||
|
||||
WorldLoaded = function()
|
||||
gdi = Player.GetPlayer("GDI")
|
||||
nod = Player.GetPlayer("Nod")
|
||||
@@ -144,8 +138,6 @@ WorldLoaded = function()
|
||||
|
||||
SetupWorld()
|
||||
|
||||
PlayMusic()
|
||||
|
||||
bhndTrigger = false
|
||||
Trigger.OnExitedFootprint(BhndTrigger, function(a, id)
|
||||
if not bhndTrigger and a.Owner == gdi then
|
||||
|
||||
@@ -560,6 +560,8 @@ Rules:
|
||||
Scripts: gdi04b.lua
|
||||
ObjectivesPanel:
|
||||
PanelName: MISSION_OBJECTIVES
|
||||
MusicPlaylist:
|
||||
StartingMusic: fist226m
|
||||
Player:
|
||||
-ConquestVictoryConditions:
|
||||
MissionObjectives:
|
||||
|
||||
Reference in New Issue
Block a user