Jump to content

TypeImmune

From ModEnc²
Revision as of 14:50, 10 November 2007 by 82.153.64.97 (talk)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: TypeImmune
File(s): rules(md).ini
Values: boolean
Default: False
Applicable to: InfantryTypes, VehicleTypes, BuildingTypes


When set in the unit's rules entry, the Template:TTL flag will render an object immune to damage (but not targetting) from a weapon on a unit of the same identity and owner. This is used primarily on the dolphin, to ensure groups don't damage one another with their through-damage weapons.

It should be noted though, that when the unit is mind controlled, it is able to damage its former identical units, because the owner has changed.

This flag will not protect units from particle weapons (such as some flame thrower implementations, or gas from a virus dart), as the particle has no 'owner' (or any connection to the spawning weapon).

The flag's effects on Template:TTL passengers or building garrisons are not known.