TD: various map and script fixes

This commit is contained in:
clemty
2015-06-21 21:02:11 +02:00
parent 27f492b793
commit 26c271f80d
24 changed files with 280 additions and 116 deletions

View File

@@ -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