Jump to content

AISafeDistance

From ModEnc²
Revision as of 11:20, 17 April 2025 by Rain-Islet (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/ally base through a script, it will gather this number of cells from the center of the enemy/ally 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.

See Also

ScriptActions

AIFriendlyDistance