Jump to content

PrerequisiteBarracks: Difference between revisions

From ModEnc²
en>Nighthawk200
m Template Updated.
en>Crimsonum
Added a note about AI behaviour.
Line 13: Line 13:
}}
}}


Lists [[BuildingTypes]] that count as BARRACKS in the prerequisite system. For more information, see [[The Prerequisite System]].
Lists [[BuildingTypes]] that count as {{tt|BARRACKS}} in the [[The Prerequisite System|prerequisite system]].
 
{{bugs}}
 
When determining if it can build an object that has {{tt|BARRACKS}} as its [[prerequisite]], the AI actually checks for buildings listed in {{f|BuildBarracks|link}} and not {{f|{{PAGENAME}}}}.

Revision as of 17:19, 18 April 2021

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: PrerequisiteBarracks
File(s): Rules(md).ini
Values: Comma-separated list of strings (names of BuildingTypes)
Default: null
Applicable to: General


Lists BuildingTypes that count as BARRACKS in the prerequisite system.

Bugs/Side-Effects/Unexpected Limitations

When determining if it can build an object that has BARRACKS as its prerequisite, the AI actually checks for buildings listed in BuildBarracks and not PrerequisiteBarracks.