Jump to content

Hospital: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
en>Amitakartok
No edit summary
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'yes' or 'no' and determines if this structure heals any InfantryTypes which enter it. The Ammo= statement can also be used on this structure to determine how many times it can do this.
|files={{Categ|ini=rules}}
|values={{Values|Boolean}}
|default=no
|types={{Categ|BuildingTypes}}
|ra=no
|cs=no
|am=no
|ts=no
|fs=no
|ets=no
|ra2=yes
|yr=yes
|ares=yes
}}
 
If set to yes, the BuildingType heals InfantryTypes that enter it. The BuildingType must also have {{f|Ammo|link}} 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 {{f|Ammo|link}} each time the weapon fires and makes the building permanently unusuable (no firing, no healing) once it runs out of {{f|Ammo|link}}.
 
 
''While this flag is still valid in Yuri's Revenge, YR Hospitals use {{f|InfantryGainSelfHeal|link}} instead.''

Revision as of 00:47, 30 October 2012

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