use a tag trait to determine what actors must be destroyed in order to win/lose

This commit is contained in:
Chris Forbes
2010-04-23 20:42:17 +12:00
parent 826373ae75
commit b20a8d193e
5 changed files with 14 additions and 10 deletions

View File

@@ -60,6 +60,7 @@
CriticalBuildingState:
EmitInfantryOnSell:
ActorTypes: c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,e1,e1,e1,e1,e1,e1,e1
MustBeDestroyed:
^Tree:
Category: Building

View File

@@ -23,6 +23,7 @@ MCV:
TransformSounds: constru2.aud, hvydoor1.aud
NoTransformSounds: deploy1.aud
RenderUnit:
MustBeDestroyed:
HARV:
Inherits: ^Vehicle

View File

@@ -55,6 +55,7 @@
RenderBuilding:
EmitInfantryOnSell:
ActorTypes: e1,e1,e1,c1,c2,e6
MustBeDestroyed:
^Wall:
Category: Building

View File

@@ -280,6 +280,7 @@ MCV:
TransformSounds: placbldg.aud, build5.aud
NoTransformSounds: nodeply1.aud
RenderUnit:
MustBeDestroyed:
JEEP:
Inherits: ^Vehicle