Allow Attack activities to target FrozenActors directly.

Removing the legacy FrozenActor to Actor workaround
fixes a number of long-standing bugs.

This also prevents units from losing their target when
it transforms into a different actor type.
This commit is contained in:
Paul Chote
2018-12-16 13:01:01 +13:00
committed by Oliver Brakmann
parent 0406b89a96
commit c34dd4b824
12 changed files with 133 additions and 47 deletions

View File

@@ -174,6 +174,7 @@ ARTY:
LocalOffset: 624,0,208
MuzzleSequence: muzzle
AttackFrontal:
TargetFrozenActors: True
WithMuzzleOverlay:
AutoTarget:
InitialStanceAI: Defend
@@ -520,6 +521,7 @@ MSAM:
Weapon: 227mm
LocalOffset: 213,-128,0, 213,128,0
AttackFrontal:
TargetFrozenActors: True
WithSpriteTurret:
SpawnActorOnDeath:
Actor: MSAM.Husk