Make Aircraft spawn husks with a neutral owner

This commit is contained in:
abcdefg30
2018-02-11 23:26:55 +01:00
committed by reaperrr
parent bed6b26428
commit 0da8efd9b4
5 changed files with 16 additions and 0 deletions

View File

@@ -317,6 +317,10 @@
HitShape:
EditorTilesetFilter:
Categories: Aircraft
SpawnActorOnDeath:
RequiresCondition: airborne
OwnerType: InternalName
EffectiveOwnerFromOwner: true
^Infantry:
Inherits@1: ^ExistsInWorld

View File

@@ -27,6 +27,9 @@ carryall.reinforce:
RequiresCondition: airborne
SpawnActorOnDeath:
Actor: carryall.husk
RequiresCondition: airborne
OwnerType: InternalName
EffectiveOwnerFromOwner: true
Carryall:
LoadingDelay: 10
UnloadingDelay: 15
@@ -95,6 +98,8 @@ ornithopter:
Name: Ornithopter
SpawnActorOnDeath:
Actor: ornithopter.husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
RejectsOrders:
RevealOnFire:

View File

@@ -547,6 +547,8 @@
Categories: Aircraft
SpawnActorOnDeath:
RequiresCondition: airborne
OwnerType: InternalName
EffectiveOwnerFromOwner: true
Explodes:
Weapon: UnitExplode
RequiresCondition: !airborne

View File

@@ -30,6 +30,7 @@ DPOD:
PipCount: 5
PipType: Ammo
PipTypeEmpty: AmmoEmpty
-SpawnActorOnDeath:
DSHP:
Inherits: ^Helicopter

View File

@@ -844,6 +844,10 @@
HitShape:
EditorTilesetFilter:
Categories: Aircraft
SpawnActorOnDeath:
RequiresCondition: airborne
OwnerType: InternalName
EffectiveOwnerFromOwner: true
^Helicopter:
Inherits: ^Aircraft