Decloak on demolish and infiltrate

Per issue #7028, infiltrating or demolishing a building will now cause an
infantry unit to decloak (if it has a cloak ability). This behaviour is
configurable (defaults to true in both cases) using the
DecloakOnInfiltrate and DecloakOnDemolish options.
This commit is contained in:
David Russell
2014-12-16 01:46:58 +00:00
parent f186f22bfc
commit 5e2df2c39a
4 changed files with 19 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ namespace OpenRA.Mods.RA.Traits
public readonly bool UncloakOnAttack = true;
public readonly bool UncloakOnMove = false;
public readonly bool UncloakOnUnload = true;
public readonly bool UncloakOnInfiltrate = true;
public readonly bool UncloakOnDemolish = true;
public readonly string CloakSound = null;
public readonly string UncloakSound = null;