TD: various map and script fixes
This commit is contained in:
@@ -42,6 +42,7 @@ getActors = function(owner, units)
|
||||
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
|
||||
@@ -158,6 +159,12 @@ Pat1Movement = 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")
|
||||
@@ -215,6 +222,8 @@ WorldLoaded = function()
|
||||
end
|
||||
end)
|
||||
|
||||
PlayMusic()
|
||||
|
||||
Trigger.AfterDelay(0, getStartUnits)
|
||||
InsertNodUnits()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user