Remove DOME.IGNORE from soviet-05
This commit is contained in:
@@ -206,14 +206,16 @@ WorldLoaded = function()
|
||||
Trigger.OnDamaged(mcvtransport, Expand)
|
||||
|
||||
Trigger.OnKilled(Radar, function()
|
||||
player.MarkFailedObjective(CaptureObjective)
|
||||
end)
|
||||
|
||||
Trigger.OnCapture(Radar, function(self, captor)
|
||||
if captor.Owner ~= player then
|
||||
return
|
||||
if not player.IsObjectiveCompleted(CaptureObjective) then
|
||||
player.MarkFailedObjective(CaptureObjective)
|
||||
end
|
||||
|
||||
if HoldObjective then
|
||||
player.MarkFailedObjective(HoldObjective)
|
||||
end
|
||||
end)
|
||||
|
||||
Trigger.OnCapture(Radar, function()
|
||||
HoldObjective = player.AddPrimaryObjective("Defend the Radar Dome.")
|
||||
player.MarkCompletedObjective(CaptureObjective)
|
||||
|
||||
@@ -222,15 +224,12 @@ WorldLoaded = function()
|
||||
ExpansionCheck = true
|
||||
end
|
||||
|
||||
Reinforcements.Reinforce(Greece, ArmorReinfGreece, AlliedCrossroadsToRadarPath , 0, function(soldier)
|
||||
soldier.Hunt()
|
||||
end)
|
||||
Reinforcements.Reinforce(Greece, ArmorReinfGreece, AlliedCrossroadsToRadarPath , 0, IdleHunt)
|
||||
|
||||
Trigger.AfterDelay(1, function()
|
||||
local newRadar = Actor.Create("dome", true, { Owner = player, Location = Radar.Location })
|
||||
newRadar.Health = Radar.Health
|
||||
Radar.Destroy()
|
||||
Trigger.OnKilled(newRadar, function()
|
||||
Radar.GrantCondition("captured")
|
||||
Trigger.ClearAll(Radar)
|
||||
Trigger.AfterDelay(0, function()
|
||||
Trigger.OnRemovedFromWorld(Radar, function()
|
||||
player.MarkFailedObjective(HoldObjective)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user