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

@@ -651,6 +651,8 @@ Rules:
FLARE:
Tooltip:
ShowOwnerRow: false
TRAN:
-Selectable:
Sequences:

View File

@@ -94,6 +94,11 @@ InsertNodUnits = function()
Reinforcements.Reinforce(Nod, NodUnitsRocket, { UnitsEntryRocket.Location, UnitsRallyRocket.Location }, 25)
end
initialSong = "rout"
PlayMusic = function()
Media.PlayMusic(initialSong, PlayMusic)
initialSong = nil
end
WorldLoaded = function()
GDI = Player.GetPlayer("GDI")
@@ -122,6 +127,8 @@ WorldLoaded = function()
NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI nuclear detonator.")
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator.")
PlayMusic()
InsertNodUnits()
Trigger.OnEnteredFootprint(HuntCellTriggerActivator, function(a, id)
@@ -162,7 +169,8 @@ WorldLoaded = function()
Trigger.OnEnteredFootprint(ChnCellTriggerActivator, function(a, id)
if a.Owner == Nod then
Reinforcements.Reinforce(Nod, { 'tran' }, { ChnEntry.Location, waypoint17.Location }, 11)
Media.PlaySpeechNotification(Nod, "Reinforce")
Reinforcements.ReinforceWithTransport(Nod, 'tran', nil, { ChnEntry.Location, waypoint17.Location }, nil, nil, nil)
Trigger.RemoveFootprintTrigger(id)
end
end)