ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
AttackFriendlies
Jump to navigation
Jump to search
| Flag: | AttackFriendlies |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Default: | no |
| Applicable to: | TechnoTypes:
AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes |
If set, when scanning for targets this unit can aim at friendly units as well as enemy ones.
Notes
If a unit has either AttackFriendlies=yes or AttackCursorOnFriendlies=yes, it will get an Attack cursor on friendly objects. Therefore, you might need to hold down the Alt key to make it use Enter on those necessary targets, just like when attacking an object that normally uses Enter requires holding down Ctrl key.
Bugs/Side-Effects/Unexpected Limitations
Objects with ally target and AttackFriendlies=true having their target reset every frame, particularly AI-owned buildings.
- This bug has been fixed in Phobos Build#45.
