Merge pull request #3233 from ScottNZ/follow

Add unit following/guarding
This commit is contained in:
Chris Forbes
2013-05-16 14:02:32 -07:00
9 changed files with 154 additions and 8 deletions

View File

@@ -31,6 +31,8 @@
AcceptsCloakCrate:
WithSmoke:
DebugMuzzlePositions:
Guard:
Guardable:
^Tank:
AppearsOnRadar:
@@ -68,6 +70,8 @@
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
DebugMuzzlePositions:
Guard:
Guardable:
^Helicopter:
AppearsOnRadar:
@@ -143,6 +147,8 @@
Buildings: hosp
CloseEnough: 1
DebugMuzzlePositions:
Guard:
Guardable:
^CivInfantry:
Inherits: ^Infantry
@@ -172,7 +178,7 @@
Notification: CivilianKilled
NotifyAll: true
ScaredyCat:
RenderInfantryPanic:
RenderInfantryPanic:
AttackMove:
JustMove: yes
CrushableInfantry:
@@ -210,6 +216,8 @@
ActorLostNotification:
AttackMove:
DebugMuzzlePositions:
Guard:
Guardable:
^Building:
AppearsOnRadar:
@@ -256,6 +264,8 @@
Capturable:
CapturableBar:
DebugMuzzlePositions:
Guardable:
Range: 3
^CivBuilding:
Inherits: ^Building
@@ -343,6 +353,7 @@
RelativeToTopLeft: yes
AutoTargetIgnore:
Sellable:
Guardable:
^Tree:
Tooltip: