Document the 'CancelActivity' field
This commit is contained in:
@@ -25,6 +25,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("What diplomatic stances can be captured by this actor.")]
|
[Desc("What diplomatic stances can be captured by this actor.")]
|
||||||
public readonly Stance ValidStances = Stance.Neutral | Stance.Enemy;
|
public readonly Stance ValidStances = Stance.Neutral | Stance.Enemy;
|
||||||
|
|
||||||
|
[Desc("Cancel the actor's current activity when getting captured.")]
|
||||||
public readonly bool CancelActivity = false;
|
public readonly bool CancelActivity = false;
|
||||||
|
|
||||||
public override object Create(ActorInitializer init) { return new Capturable(init.Self, this); }
|
public override object Create(ActorInitializer init) { return new Capturable(init.Self, this); }
|
||||||
|
|||||||
Reference in New Issue
Block a user