Jump to content

AISafeDistance

From ModEnc²
Revision as of 14:05, 14 April 2025 by ATHSE (talk | contribs) (added warning note)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AISafeDistance
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: General


Whenever the AI is instructed to gather at the enemy base through a script, it will gather this number of cells from the centre of the enemy base.

Notes

The value should be set with some caution. On maps with islands or peninsulas, a distance too high might gather them in an unreachable spot, this is especially annoying with transports. Alternately, setting the value too low, may result in AI players gathering within a sprawling enemy base, something more likely to happen when a mod adds more buildings to each faction.