TD: various map and script fixes
This commit is contained in:
@@ -651,6 +651,8 @@ Rules:
|
||||
FLARE:
|
||||
Tooltip:
|
||||
ShowOwnerRow: false
|
||||
TRAN:
|
||||
-Selectable:
|
||||
|
||||
Sequences:
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user