Add assault move to RA.
This commit is contained in:
@@ -169,6 +169,15 @@
|
||||
ValidTargets: Infantry, Vehicle, Tank, Water, Underwater, Structure, Defense
|
||||
InvalidTargets: NoAutoTarget
|
||||
|
||||
^AutoTargetGroundAssaultMove:
|
||||
Inherits: ^AutoTargetGround
|
||||
AutoTargetPriority@DEFAULT:
|
||||
RequiresCondition: !stance-attackanything && !assault-move
|
||||
AutoTargetPriority@ATTACKANYTHING:
|
||||
RequiresCondition: stance-attackanything || assault-move
|
||||
AttackMove:
|
||||
AssaultMoveScanCondition: assault-move
|
||||
|
||||
^AutoTargetAir:
|
||||
AutoTarget:
|
||||
AutoTargetPriority@DEFAULT:
|
||||
@@ -187,6 +196,15 @@
|
||||
ValidTargets: Infantry, Vehicle, Tank, Water, Underwater, Air, Structure, Defense
|
||||
InvalidTargets: NoAutoTarget
|
||||
|
||||
^AutoTargetAllAssaultMove:
|
||||
Inherits: ^AutoTargetAll
|
||||
AutoTargetPriority@DEFAULT:
|
||||
RequiresCondition: !stance-attackanything && !assault-move
|
||||
AutoTargetPriority@ATTACKANYTHING:
|
||||
RequiresCondition: stance-attackanything || assault-move
|
||||
AttackMove:
|
||||
AssaultMoveScanCondition: assault-move
|
||||
|
||||
^Vehicle:
|
||||
Inherits@1: ^ExistsInWorld
|
||||
Inherits@2: ^GainsExperience
|
||||
@@ -428,7 +446,7 @@
|
||||
Categories: Civilian infantry
|
||||
|
||||
^ArmedCivilian:
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
|
||||
Armament:
|
||||
Weapon: Pistol
|
||||
AttackFrontal:
|
||||
|
||||
Reference in New Issue
Block a user