TD: various map and script fixes
This commit is contained in:
@@ -96,6 +96,12 @@ Gdi3Movement = function(unit)
|
||||
IdleHunt(unit)
|
||||
end
|
||||
|
||||
initialSong = "ind2"
|
||||
PlayMusic = function()
|
||||
Media.PlayMusic(initialSong, PlayMusic)
|
||||
initialSong = nil
|
||||
end
|
||||
|
||||
WorldLoaded = function()
|
||||
GDI = Player.GetPlayer("GDI")
|
||||
Nod = Player.GetPlayer("Nod")
|
||||
@@ -134,6 +140,9 @@ WorldLoaded = function()
|
||||
|
||||
Trigger.AfterDelay(0, getStartUnits)
|
||||
Harvester.FindResources()
|
||||
|
||||
PlayMusic()
|
||||
|
||||
InsertNodUnits()
|
||||
end
|
||||
|
||||
@@ -230,6 +239,7 @@ getStartUnits = function()
|
||||
end
|
||||
|
||||
InsertNodUnits = function()
|
||||
Media.PlaySpeechNotification(Nod, "Reinforce")
|
||||
Reinforcements.Reinforce(Nod, NodUnits, { UnitsEntry.Location, UnitsRally.Location }, 15)
|
||||
Reinforcements.Reinforce(Nod, { "mcv" }, { McvEntry.Location, McvRally.Location })
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user