Expose targetline colors to yaml.
All targetlines can now be set to a custom color in yaml or set to be invisible. All automated behaviours including scripted activities now have no visible target lines.
This commit is contained in:
@@ -24,7 +24,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
EngineerRepairable enterEngineerRepariable;
|
||||
|
||||
public RepairBuilding(Actor self, in Target target, EngineerRepairInfo info)
|
||||
: base(self, target, Color.Yellow)
|
||||
: base(self, target, info.TargetLineColor)
|
||||
{
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user