Replace UnitTraitOrderTargeter with TargetTypeOrderTargeter.

This also makes naval buildings untargetable for c4 and demo trucks, as they don't make much sense.
This commit is contained in:
Paul Chote
2013-04-15 22:31:09 +12:00
parent e545865599
commit 4ca777597f
16 changed files with 81 additions and 56 deletions

View File

@@ -215,7 +215,7 @@
Selectable:
Priority: 2
TargetableBuilding:
TargetTypes: Ground
TargetTypes: Ground, C4
Building:
Dimensions: 1,1
Footprint: x
@@ -263,6 +263,5 @@
Types:Building
Sellable:
GivesBounty:
C4Demolishable:
DebugMuzzlePositions:
Bib:

View File

@@ -433,7 +433,7 @@ WALL:
#Selectable:
# Priority: 1
TargetableBuilding:
TargetTypes: Ground
TargetTypes: Ground, C4
RenderBuildingWall:
HasMakeAnimation: false
#GivesExperience: