Fix actors being able to walk on cliffs after the sietch was destroyed

This commit is contained in:
abcdefg30
2017-08-07 13:32:42 +02:00
committed by reaperrr
parent d78b29b545
commit 6840177776
2 changed files with 8 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ WorldLoaded = function()
end) end)
Trigger.OnKilled(Sietch, function() Trigger.OnKilled(Sietch, function()
Actor.Create("invisibleBlocker", true, { Owner = fremen, Location = CPos.New(62, 59) })
UserInterface.SetMissionText("Sietch destroyed!", player.Color) UserInterface.SetMissionText("Sietch destroyed!", player.Color)
player.MarkFailedObjective(ProtectFremen) player.MarkFailedObjective(ProtectFremen)
end) end)

View File

@@ -88,3 +88,10 @@ tile475:
BodyOrientation: BodyOrientation:
QuantizedFacings: 1 QuantizedFacings: 1
AutoSelectionSize: AutoSelectionSize:
# Placed after the sietch is destroyed so that the cliff is still unpassable
invisibleBlocker:
AlwaysVisible:
Building:
Footprint: xx xx
Dimensions: 2,2