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

Hospital

From ModEnc
Revision as of 22:47, 29 October 2012 by Amitakartok (talk | contribs)
Jump to navigation Jump to search
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: Hospital
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: BuildingTypes


If set to yes, the BuildingType heals InfantryTypes that enter it. The BuildingType must also have Ammo set to a value greater than 0 to specify the number of times it can heal infantry.

Note that giving the BuildingType a weapon will use up one Ammo each time the weapon fires and makes the building permanently unusuable (no firing, no healing) once it runs out of Ammo.


While this flag is still valid in Yuri's Revenge, YR Hospitals use InfantryGainSelfHeal instead.