Jump to content

AITriggerTrackRecordCoefficient: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 4 revisions imported
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Coefficient used to determine how many previous AITriggerTypes to keep a record of when evaluating the chance of using the same or a different AI trigger for an attack mission. Used when building a 'cache' of previous triggers.
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|types={{Categ|General}}
|values={{values|float}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
When an AI [[TeamTypes|TeamType]] is dissolved which hasn't completed its task (through the usage of [[ScriptActions#49|Script Action 49, 0]]), this value, multiplied by {{f|AITriggerFailureWeightDelta|link}}, is added to the Weight of every AI Trigger using this TeamType as its primary Team. The FailureWeightDelta value is normally negative, thus this effectively reduces the weight and increases the chances of a different trigger being used by the AI, rather than the same one being re-used.
 
See also [[AITriggerTypes#Weights|AI Trigger Type Weights]].

Latest revision as of 21:34, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AITriggerTrackRecordCoefficient
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Applicable to: General


When an AI TeamType is dissolved which hasn't completed its task (through the usage of Script Action 49, 0), this value, multiplied by AITriggerFailureWeightDelta, is added to the Weight of every AI Trigger using this TeamType as its primary Team. The FailureWeightDelta value is normally negative, thus this effectively reduces the weight and increases the chances of a different trigger being used by the AI, rather than the same one being re-used.

See also AI Trigger Type Weights.