Jump to content

RANGE = In AI scripts


Recommended Posts

Hi Mike,

Al is correct and just one small addition in that for almost all of the plans it also includes a distance check to the #GOAL_POSITION.

So for example, an OFFENSIVE plan with RANGE= 10, the game engine will check for units within 10 tiles of either the #GOAL_POSITION and/or #FRIENDLY_POSITION.

This ensures that it will take the closest applicable units and not waste time checking all over the map for available units which speeds things up quite a bit.

Hubert

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...