Skip to content

AITriggerFailureWeightDelta

The amount added to an AI trigger's weight each time one of its teams fails.

Specification
Applies to
global rules
File
rules.ini
Section
[General]
Value
floating point
When omitted
-1

The value is added, not subtracted, so a weight is only driven down by a negative one. It joins the trigger’s own history term and the result is held inside the minimum and maximum weight the trigger carries. A team records a failure whenever it dies without having reached the Success mission in its script, whatever it achieved on the way.