Jump to content

AISafeDistance: Difference between revisions

From ModEnc²
ATHSE (talk | contribs)
added warning note
Rain-Islet (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
}}
}}
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.
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==
==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.
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]]
[https://ares-developers.github.io/Ares-docs/new/scripts.html#gather-at-base-54 AIFriendlyDistance]

Latest revision as of 11:20, 17 April 2025

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