ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

AttackFriendlies: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
m Adding revision category for pages potentially improperly "converted".
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Flag |values={{values|boolean}}}}
{{flag
{{DeeZireInclusion}}<br />
|values={{values|boolean}}
Can be set to 'true' or 'false' and determines if this unit can legally attack other units from the same side when scanning for potential targets. The effect of this is that you don't have to 'force fire' with this unit if you want to use it to destroy things on the same army or an army it is allied with.
|types={{Categ|Technoes}}
|default=no
|ra2=yes
|yr=yes
}}
If set, when scanning for targets this unit can aim at friendly units as well as enemy ones. See also {{f|AttackCursorOnFriendlies|link}}.
 
==Note==
*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}}
[[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>.
 
 
[[Category:Review for fake conversion and revert if necessary]]

Latest revision as of 18:14, 20 April 2025

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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😆).