Jump to content

AttackFriendlies: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>Testid123
mNo edit summary
Line 10: Line 10:
==Note==
==Note==
*The {{f|DeployToFire|yes|link}} tag ignores tag actions '''AttackFriendlies=yes'''.
*The {{f|DeployToFire|yes|link}} tag ignores tag actions '''AttackFriendlies=yes'''.
*'''AttackFriendlies=yes''' Do not allow [[VehicleTypes]] to dock at the ore refinery(Except by holding down the '''Alt''' key)+ Do not allow repairs from [[BuildingTypes]] that uses the {{f|UnitRepair|yes|link}} tag


{{Bugs}}
{{Bugs}}
[[TechnoTypes]] that are under our control. But we don't control it, it ignores the [[Immune]] tag and attacks normally<b>(Even though no damage occurred😆)</b>.
[[TechnoTypes]] that are under our control. But we don't control it, it ignores the [[Immune]] tag and attacks normally<b>(Even though no damage occurred😆)</b>.

Revision as of 16:09, 17 January 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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. See also AttackCursorOnFriendlies.

Note

Bugs/Side-Effects/Unexpected Limitations TechnoTypes that are under our control. But we don't control it, it ignores the Immune tag and attacks normally(Even though no damage occurred😆).