unit

Unit <AI template name>

A unit is an AI control template. It tells the AI what type of object it is and how to use it.

Example:

rem *** Plugins ***
aiTemplatePlugIn.create Unit Stationary_BrowningUnit
aiTemplatePlugIn.equipmentType 4
aiTemplatePlugIn.setStrategicStrength 0 0
aiTemplatePlugIn.setStrategicStrength 1 1
aiTemplatePlugIn.setUseNoPathfindingToGetToObject 1
aiTemplatePlugIn.setHasExposedSoldier 1
aiTemplatePlugIn.setAlwaysTargetSoldier 1

Valid Properties for this Object


aiTemplatePlugIn.equipmentType
aiTemplatePlugIn.setStrategicStrength
aiTemplatePlugIn.setStrategicStrength
aiTemplatePlugIn.setUseNoPathfindingToGetToObject
aiTemplatePlugIn.setHasExposedSoldier
aiTemplatePlugIn.setAlwaysTargetSoldier