Skip to content

Conversation

@mattylaug
Copy link
Contributor

Fixes #769

This should also stop the IFV + engineer repairing enemy units when using force attack

AutoTargetPriority@REPAIR:
RequiresCondition: ifv-repair
ValidTargets: Repair
ValidTargets: Repair, Ally
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That won't work. You want ValidRelationships instead. https://docs.openra.net/en/release/traits/#autotargetpriority

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright I changed it to use ValidRelationships instead, haven't compiled and tested it yet

@Mailaender Mailaender merged commit 61e24e3 into OpenRA:master Nov 28, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repair IFV targets enemies instead of friendlies

2 participants