Add IsDead checks to Fall of Greece 1
This commit is contained in:
committed by
Gustas Kažukauskas
parent
5c09d5d828
commit
99253702c5
@@ -313,8 +313,12 @@ FootprintTriggers = function()
|
|||||||
trig9camera.Destroy()
|
trig9camera.Destroy()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Utils.Do(BridgeMammoths, function(actor)
|
Utils.Do(BridgeMammoths, function(mammoth)
|
||||||
actor.AttackMove(MammysGo.Location)
|
if mammoth.IsDead then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
mammoth.AttackMove(MammysGo.Location)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
@@ -334,6 +338,10 @@ FootprintTriggers = function()
|
|||||||
Actor.Create("camera", true, { Owner = Allies, Location = ExtractionPoint.Location })
|
Actor.Create("camera", true, { Owner = Allies, Location = ExtractionPoint.Location })
|
||||||
SendExtractionHelicopter()
|
SendExtractionHelicopter()
|
||||||
|
|
||||||
|
if HealCrateTruck.IsDead then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
HealCrateTruck.Move(TruckGo.Location)
|
HealCrateTruck.Move(TruckGo.Location)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user