From b85aaa7bfa0d4a6d1bf97bd9a410b6cb2015ac17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 21 Jun 2014 08:34:58 +0200 Subject: [PATCH] document the stance system --- OpenRA.Mods.RA/AutoTarget.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.RA/AutoTarget.cs b/OpenRA.Mods.RA/AutoTarget.cs index 5a7aa65210..2b03ff1891 100644 --- a/OpenRA.Mods.RA/AutoTarget.cs +++ b/OpenRA.Mods.RA/AutoTarget.cs @@ -21,7 +21,11 @@ namespace OpenRA.Mods.RA public readonly bool AllowMovement = true; [Desc("Set to a value >1 to override weapons maximum range for this.")] public readonly int ScanRadius = -1; + + [Desc("Possible values are HoldFire, ReturnFire, Defend and AttackAnything.")] public readonly UnitStance InitialStance = UnitStance.AttackAnything; + [Desc("Allow the player to change the unit stance.")] + public readonly bool EnableStances = true; [Desc("Ticks to wait until next AutoTarget: attempt.")] public readonly int MinimumScanTimeInterval = 3; @@ -30,7 +34,6 @@ namespace OpenRA.Mods.RA public readonly bool TargetWhenIdle = true; public readonly bool TargetWhenDamaged = true; - public readonly bool EnableStances = true; public object Create(ActorInitializer init) { return new AutoTarget(init.self, this); } }