TD: various map and script fixes
This commit is contained in:
@@ -110,6 +110,12 @@ 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")
|
||||
@@ -138,6 +144,8 @@ WorldLoaded = function()
|
||||
|
||||
SetupWorld()
|
||||
|
||||
PlayMusic()
|
||||
|
||||
bhndTrigger = false
|
||||
Trigger.OnExitedFootprint(BhndTrigger, function(a, id)
|
||||
if not bhndTrigger and a.Owner == gdi then
|
||||
|
||||
Reference in New Issue
Block a user