ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

CloseEnough

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: CloseEnough
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: General


If a unit is ordered to move to a location which is inaccessible or blocked by other objects, it will abort movement when it gets this close (in cells) to that destination, satisfying the move order.

One example would be a transport scripted to move to a Waypoint that is located within the foundations of a building, being close enough next to it, the script will continue to the unload action.

This stops the AI hanging up and trying to move units into blocked cells.