Skip to content

Conversation

@mattylaug
Copy link

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

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