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()
|
||||
end)
|
||||
|
||||
Utils.Do(BridgeMammoths, function(actor)
|
||||
actor.AttackMove(MammysGo.Location)
|
||||
Utils.Do(BridgeMammoths, function(mammoth)
|
||||
if mammoth.IsDead then
|
||||
return
|
||||
end
|
||||
|
||||
mammoth.AttackMove(MammysGo.Location)
|
||||
end)
|
||||
end
|
||||
end)
|
||||
@@ -334,6 +338,10 @@ FootprintTriggers = function()
|
||||
Actor.Create("camera", true, { Owner = Allies, Location = ExtractionPoint.Location })
|
||||
SendExtractionHelicopter()
|
||||
|
||||
if HealCrateTruck.IsDead then
|
||||
return
|
||||
end
|
||||
|
||||
HealCrateTruck.Move(TruckGo.Location)
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user