Jump to content

UseMinDefenseRule: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 4 revisions imported
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{flag
Can be set to 'yes' or 'no' and determines if the AI will attempt to apply the 'minimum defense rule'. This defaults to 'yes' which means that any base defense AITriggerTypes are fired only if the AI has chosen its enemy. Setting this to 'no' means that the Base Defense Flag in all AITriggerTypes is read and acknowledged (see the AI.INI Guide for more details of this flag).
|values={{values|boolean}}
|types={{categ|General}}
|files={{categ|ini=rules}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
 
If this is set, the AI will strive to create at least {{f|MinimumAIDefensiveTeams|link}} [[TeamTypes]] with {{f|IsBaseDefense|yes|link}} set before even trying to create other Teams (all [[AITriggerTypes]] which don't include such teams will be treated as if their conditions haven't been met yet). See also {{f|MaximumAIDefensiveTeams|link}}.

Latest revision as of 22:11, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: UseMinDefenseRule
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Applicable to: General


If this is set, the AI will strive to create at least MinimumAIDefensiveTeams TeamTypes with IsBaseDefense=yes set before even trying to create other Teams (all AITriggerTypes which don't include such teams will be treated as if their conditions haven't been met yet). See also MaximumAIDefensiveTeams.